Page MenuHomeFreeBSD

D16724.1783884838.diff
No OneTemporary

Size
696 B
Referenced Files
None
Subscribers
None

D16724.1783884838.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
Sun, Jul 12, 7:33 PM (5 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29099074
Default Alt Text
D16724.1783884838.diff (696 B)

Event Timeline