Shave 4kb off default mode binaries

This commit is contained in:
Justine Tunney 2022-05-20 07:37:51 -07:00
parent fb4382e9a4
commit 8141988e92

View file

@ -134,6 +134,12 @@ o/$(MODE)/libc/calls/ioctl-siocgifconf-nt.o: \
-ffunction-sections \
-fdata-sections
# we want small code size because:
# to keep .text.head under 4096 bytes
o/$(MODE)/libc/calls/mman.greg.o: \
OVERRIDE_COPTS += \
-Os
# we always want -Os because:
# va_arg codegen is very bloated in default mode
o//libc/calls/open.o \