diff options
author | Felix Fietkau <nbd@openwrt.org> | 2016-01-24 00:16:36 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2016-01-24 00:16:36 +0000 |
commit | fb713ddd4dd49fb60ee4ab732071abf2c3ad5fc5 (patch) | |
tree | e1e26728413270a5c68ce4bab0c3fcd27817ea87 | |
parent | 6f8d6477788b764e2338ac9443bf1ece13a16ba3 (diff) | |
download | mtk-20170518-fb713ddd4dd49fb60ee4ab732071abf2c3ad5fc5.zip mtk-20170518-fb713ddd4dd49fb60ee4ab732071abf2c3ad5fc5.tar.gz mtk-20170518-fb713ddd4dd49fb60ee4ab732071abf2c3ad5fc5.tar.bz2 |
build: add -fno-plt to default cflags, it improves PIC code optimization
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48470
-rw-r--r-- | config/Config-devel.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/Config-devel.in b/config/Config-devel.in index d096c18..5970ac2 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. |