소스 검색

gcc: enable LTO support unconditionally

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

SVN-Revision: 47442
Felix Fietkau 10 년 전
부모
커밋
795cab69b3
1개의 변경된 파일1개의 추가작업 그리고 5개의 파일을 삭제
  1. 1 5
      toolchain/gcc/final/Makefile

+ 1 - 5
toolchain/gcc/final/Makefile

@@ -8,13 +8,9 @@ GCC_CONFIGURE += \
 	--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