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
@ -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
|
--with-slibdir=$(TOOLCHAIN_DIR)/lib \
|
||||||
|
|
||||||
ifneq ($(CONFIG_GCC_VERSION_4_5)$(CONFIG_GCC_VERSION_4_6),)
|
|
||||||
GCC_CONFIGURE += \
|
|
||||||
--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
|
||||||
|
Loading…
Reference in New Issue
Block a user