remove -fno-jump-tables - after stripping it proved to be worse

This commit is contained in:
Denis Vlasenko 2008-06-04 11:53:24 +00:00
parent 1da86d2f40
commit 1a9bbfb96f

View File

@ -71,10 +71,6 @@ endif
ifeq ($(CONFIG_PIE),y) ifeq ($(CONFIG_PIE),y)
CFLAGS_busybox += $(ARCH_PIE) CFLAGS_busybox += $(ARCH_PIE)
CFLAGS += $(ARCH_FPIE) CFLAGS += $(ARCH_FPIE)
# No switch() jump tables. Code growth +1k, binary size down -12k
# due to reduced number of code pointers.
# (TODO: make overridable: some arches may want to not do this)
CFLAGS += $(call cc-option,-fno-jump-tables)
endif endif
LDLIBS += m crypt LDLIBS += m crypt