summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2020-05-23 13:22:29 -0700
committerDavid S. Miller <davem@davemloft.net>2020-06-02 18:37:58 -0700
commit1d3e8c3992bc55c16a2c843c47244f835f27860d (patch)
tree915ade4a0f7c7ec242ec93ad796b3ab403f5bfa9
parent39836b3d2580f6785e675e07571053bca3f0551c (diff)
downloadsilo-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.make2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rules.make b/Rules.make
index 0f176db..3d0efe7 100644
--- a/Rules.make
+++ b/Rules.make
@@ -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