From: Felix Fietkau Date: Sun, 24 Jan 2016 00:16:36 +0000 (+0000) Subject: build: add -fno-plt to default cflags, it improves PIC code optimization X-Git-Tag: reboot~663 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=fb713ddd4dd49fb60ee4ab732071abf2c3ad5fc5;p=openwrt%2Fstaging%2Fblogic.git build: add -fno-plt to default cflags, it improves PIC code optimization Signed-off-by: Felix Fietkau SVN-Revision: 48470 --- diff --git a/config/Config-devel.in b/config/Config-devel.in index d096c18a723d..5970ac238d31 100644 --- a/config/Config-devel.in +++ b/config/Config-devel.in @@ -106,6 +106,7 @@ menuconfig DEVEL config EXTRA_OPTIMIZATION string "Additional compiler options" if DEVEL + default "-fno-caller-saves -fno-plt" if !CONFIG_EXTERNAL_TOOLCHAIN default "-fno-caller-saves" help Extra target-independent optimizations to use when building for the target.