Page MenuHomeFreeBSD

D16724.id46711.diff
No OneTemporary

D16724.id46711.diff

Index: stand/defs.mk
===================================================================
--- stand/defs.mk
+++ stand/defs.mk
@@ -53,7 +53,11 @@
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+= -Os
# GELI Support, with backward compat hooks (mostly)
.if defined(LOADER_NO_GELI_SUPPORT)

File Metadata

Mime Type
text/plain
Expires
Wed, Sep 9, 4:24 AM (18 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38561498
Default Alt Text
D16724.id46711.diff (657 B)

Event Timeline