diff options
author | Steven Barth <cyrus@openwrt.org> | 2015-06-20 17:37:20 +0000 |
---|---|---|
committer | Steven Barth <cyrus@openwrt.org> | 2015-06-20 17:37:20 +0000 |
commit | cfdadd3e1d1402a02c19eedb9910fece5b9917c7 (patch) | |
tree | 33365cb0ef6c47f0c479eb90355cc304d731ea47 /toolchain/gcc/final/Makefile | |
parent | fc5f02410f27de8b2b97a8edccb859773094591e (diff) | |
download | upstream-cfdadd3e1d1402a02c19eedb9910fece5b9917c7.tar.gz upstream-cfdadd3e1d1402a02c19eedb9910fece5b9917c7.tar.bz2 upstream-cfdadd3e1d1402a02c19eedb9910fece5b9917c7.zip |
gcc: musl comes with its own SSP, so use it instead of libssp
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46071
Diffstat (limited to 'toolchain/gcc/final/Makefile')
-rw-r--r-- | toolchain/gcc/final/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/toolchain/gcc/final/Makefile b/toolchain/gcc/final/Makefile index 3fb5ccf83f..1212d145ab 100644 --- a/toolchain/gcc/final/Makefile +++ b/toolchain/gcc/final/Makefile @@ -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 |