diff options
author | Matt Turner <mattst88@gmail.com> | 2020-05-23 13:22:29 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-06-02 18:37:58 -0700 |
commit | 1d3e8c3992bc55c16a2c843c47244f835f27860d (patch) | |
tree | 915ade4a0f7c7ec242ec93ad796b3ab403f5bfa9 | |
parent | 39836b3d2580f6785e675e07571053bca3f0551c (diff) | |
download | silo-1d3e8c3992bc55c16a2c843c47244f835f27860d.tar.gz |
silo: Build with -fno-PIC to reduce size
Otherwise the resulting image will be too large:
| ./util second.map second.aout second2.aout second.b second.b2
| Distance between two changes larger than 63K 3 84553 0
Signed-off-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | Rules.make | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -19,7 +19,7 @@ cc-option-yn = $(shell if $(CC) $(CFLAGS) $(1) -S -o /dev/null -xc /dev/null \ > /dev/null 2>&1; then echo "y"; else echo "n"; fi;) CFLAGS = -Os -Wall -I. -I../include -fomit-frame-pointer \ - -fno-strict-aliasing -DSMALL_RELOC=$(SMALL_RELOC) \ + -fno-strict-aliasing -fno-PIC -DSMALL_RELOC=$(SMALL_RELOC) \ -DLARGE_RELOC=$(LARGE_RELOC) HOSTCFLAGS = -O2 -Wall |