gcc: musl comes with its own SSP, so use it instead of libssp

Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 46071
This commit is contained in:
Steven Barth
2015-06-20 17:37:20 +00:00
parent fc5f02410f
commit cfdadd3e1d
2 changed files with 15 additions and 0 deletions

View File

@@ -16,6 +16,10 @@ ifneq ($(CONFIG_GCC_VERSION_4_5)$(CONFIG_GCC_VERSION_4_6),)
--with-libelf=$(TOPDIR)/staging_dir/host
endif
ifdef CONFIG_USE_MUSL
GCC_MAKE += gcc_cv_libc_provides_ssp=yes
endif
ifneq ($(CONFIG_SJLJ_EXCEPTIONS),)
GCC_CONFIGURE += \
--enable-sjlj-exceptions