gcc: enable LTO support unconditionally
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47442
This commit is contained in:
parent
8a22f31c25
commit
795cab69b3
1 changed files with 1 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue