Author: nbd
Date: 2015-11-10 22:10:45 +0100 (Tue, 10 Nov 2015)
New Revision: 47442

Modified:
   trunk/toolchain/gcc/final/Makefile
Log:
gcc: enable LTO support unconditionally

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

Modified: trunk/toolchain/gcc/final/Makefile
===================================================================
--- trunk/toolchain/gcc/final/Makefile  2015-11-10 21:10:39 UTC (rev 47441)
+++ trunk/toolchain/gcc/final/Makefile  2015-11-10 21:10:45 UTC (rev 47442)
@@ -8,13 +8,9 @@
        --enable-languages=$(TARGET_LANGUAGES) \
        --enable-shared \
        --enable-threads \
-       --with-slibdir=$(TOOLCHAIN_DIR)/lib
-
-ifneq ($(CONFIG_GCC_VERSION_4_5)$(CONFIG_GCC_VERSION_4_6),)
-  GCC_CONFIGURE += \
+       --with-slibdir=$(TOOLCHAIN_DIR)/lib \
        --enable-lto \
        --with-libelf=$(TOPDIR)/staging_dir/host
-endif
 
 ifdef CONFIG_USE_MUSL
   GCC_MAKE += gcc_cv_libc_provides_ssp=yes
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to