build: add -fno-plt to default cflags, it improves PIC code optimization

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48470
This commit is contained in:
Felix Fietkau 2016-01-24 00:16:36 +00:00
parent 6f8d647778
commit fb713ddd4d
1 changed files with 1 additions and 0 deletions

View File

@ -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.