Page MenuHomeFreeBSD

D16724.diff
No OneTemporary

D16724.diff

Index: head/stand/defs.mk
===================================================================
--- head/stand/defs.mk
+++ head/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
Wed, Apr 22, 8:12 PM (17 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31997838
Default Alt Text
D16724.diff (696 B)

Event Timeline