Browse Source

gcc: enable LTO support unconditionally

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

SVN-Revision: 47442
Felix Fietkau 10 years ago
parent
commit
795cab69b3
1 changed files with 1 additions and 5 deletions
  1. 1 5
      toolchain/gcc/final/Makefile

+ 1 - 5
toolchain/gcc/final/Makefile

@@ -8,13 +8,9 @@ GCC_CONFIGURE += \
 	--enable-languages=$(TARGET_LANGUAGES) \
 	--enable-languages=$(TARGET_LANGUAGES) \
 	--enable-shared \
 	--enable-shared \
 	--enable-threads \
 	--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 \
 	--enable-lto \
 	--with-libelf=$(TOPDIR)/staging_dir/host
 	--with-libelf=$(TOPDIR)/staging_dir/host
-endif
 
 
 ifdef CONFIG_USE_MUSL
 ifdef CONFIG_USE_MUSL
   GCC_MAKE += gcc_cv_libc_provides_ssp=yes
   GCC_MAKE += gcc_cv_libc_provides_ssp=yes