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:
parent
6f8d647778
commit
fb713ddd4d
1 changed files with 1 additions and 0 deletions
|
@ -106,6 +106,7 @@ menuconfig DEVEL
|
||||||
|
|
||||||
config EXTRA_OPTIMIZATION
|
config EXTRA_OPTIMIZATION
|
||||||
string "Additional compiler options" if DEVEL
|
string "Additional compiler options" if DEVEL
|
||||||
|
default "-fno-caller-saves -fno-plt" if !CONFIG_EXTERNAL_TOOLCHAIN
|
||||||
default "-fno-caller-saves"
|
default "-fno-caller-saves"
|
||||||
help
|
help
|
||||||
Extra target-independent optimizations to use when building for the target.
|
Extra target-independent optimizations to use when building for the target.
|
||||||
|
|
Loading…
Reference in a new issue