mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-03-03 07:29:23 +00:00
Shave 4kb off default mode binaries
This commit is contained in:
parent
fb4382e9a4
commit
8141988e92
1 changed files with 6 additions and 0 deletions
|
@ -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 \
|
||||
|
|
Loading…
Add table
Reference in a new issue