mirror of https://github.com/hak5/openwrt-owl.git
build: add -fno-plt to default cflags, it improves PIC code optimization
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48470owl
parent
6f8d647778
commit
fb713ddd4d
|
@ -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…
Reference in New Issue