Page MenuHomeFreeBSD

D16724.id46718.diff
No OneTemporary

D16724.id46718.diff

Index: stand/defs.mk
===================================================================
--- stand/defs.mk
+++ stand/defs.mk
@@ -53,7 +53,12 @@
CFLAGS+= -I${SYSDIR}
# Spike the floating point interfaces
CFLAGS+= -Ddouble=jagged-little-pill -Dfloat=floaty-mcfloatface
-
+# Slim down the image. This saves about 15% in size with clang 6 on x86
+# Our most constrained /boot/loader env is BIOS booting on x86, where
+# our text + data + BTX have to fit into 640k below the ISA hole.
+# Experience has shown that problems arise between ~520k to ~530k.
+CFLAGS.clang+= -Oz
+CFLAGS.gcc+= -Os
# GELI Support, with backward compat hooks (mostly)
.if defined(LOADER_NO_GELI_SUPPORT)

File Metadata

Mime Type
text/plain
Expires
Tue, Sep 8, 10:05 PM (12 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38541483
Default Alt Text
D16724.id46718.diff (681 B)

Event Timeline