Author: nbd
Date: 2016-01-24 01:16:36 +0100 (Sun, 24 Jan 2016)
New Revision: 48470

Modified:
   trunk/config/Config-devel.in
Log:
build: add -fno-plt to default cflags, it improves PIC code optimization

Signed-off-by: Felix Fietkau <[email protected]>

Modified: trunk/config/Config-devel.in
===================================================================
--- trunk/config/Config-devel.in        2016-01-24 00:16:32 UTC (rev 48469)
+++ trunk/config/Config-devel.in        2016-01-24 00:16:36 UTC (rev 48470)
@@ -106,6 +106,7 @@
 
        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.
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to