mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-02-18 08:11:13 +01:00
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
|
||||
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.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue