gcc: enable LTO support unconditionally

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47442
This commit is contained in:
Felix Fietkau 2015-11-10 21:10:45 +00:00
parent 8a22f31c25
commit 795cab69b3

View File

@ -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