diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-06-04 11:53:24 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-06-04 11:53:24 +0000 |
commit | 1a9bbfb96f0c136b2748edbf7cba7ec8b496a44b (patch) | |
tree | c19a982ee043e569d3137ec9e94882a81f0d38ce | |
parent | 1da86d2f40f304d78b2ae4aac3b590b19adc7ce3 (diff) | |
download | busybox-w32-1a9bbfb96f0c136b2748edbf7cba7ec8b496a44b.tar.gz busybox-w32-1a9bbfb96f0c136b2748edbf7cba7ec8b496a44b.tar.bz2 busybox-w32-1a9bbfb96f0c136b2748edbf7cba7ec8b496a44b.zip |
remove -fno-jump-tables - after stripping it proved to be worse
-rw-r--r-- | Makefile.flags | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Makefile.flags b/Makefile.flags index 1cfda26ac..cb2c8780a 100644 --- a/Makefile.flags +++ b/Makefile.flags | |||
@@ -71,10 +71,6 @@ endif | |||
71 | ifeq ($(CONFIG_PIE),y) | 71 | ifeq ($(CONFIG_PIE),y) |
72 | CFLAGS_busybox += $(ARCH_PIE) | 72 | CFLAGS_busybox += $(ARCH_PIE) |
73 | CFLAGS += $(ARCH_FPIE) | 73 | CFLAGS += $(ARCH_FPIE) |
74 | # No switch() jump tables. Code growth +1k, binary size down -12k | ||
75 | # due to reduced number of code pointers. | ||
76 | # (TODO: make overridable: some arches may want to not do this) | ||
77 | CFLAGS += $(call cc-option,-fno-jump-tables) | ||
78 | endif | 74 | endif |
79 | 75 | ||
80 | LDLIBS += m crypt | 76 | LDLIBS += m crypt |