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 | aa81e80a6ad8a9062e5c36be0819b084d287a44a (patch) | |
tree | f41a14bc29da0b6531a014b71f0c8e3f62882aed /config | |
parent | 740022de67f52c1e2d962562dd77e023387d7a67 (diff) | |
download | master-187ad058-aa81e80a6ad8a9062e5c36be0819b084d287a44a.tar.gz master-187ad058-aa81e80a6ad8a9062e5c36be0819b084d287a44a.tar.bz2 master-187ad058-aa81e80a6ad8a9062e5c36be0819b084d287a44a.zip |
build: add -fno-plt to default cflags, it improves PIC code optimization
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48470 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'config')
-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 d096c18a72..5970ac238d 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. |