diff options
author | Steven Barth <steven@midlink.org> | 2015-06-20 17:37:20 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2015-06-20 17:37:20 +0000 |
commit | ae1b787c52173ea2fc7377f63e7406a22afdd87c (patch) | |
tree | 780f1e36a62eb0a274d118b567b0a658ac1a51a5 /toolchain/gcc/final | |
parent | 44ef4732478819835d1ef8f7e05fe01d3b765160 (diff) | |
download | master-187ad058-ae1b787c52173ea2fc7377f63e7406a22afdd87c.tar.gz master-187ad058-ae1b787c52173ea2fc7377f63e7406a22afdd87c.tar.bz2 master-187ad058-ae1b787c52173ea2fc7377f63e7406a22afdd87c.zip |
gcc: musl comes with its own SSP, so use it instead of libssp
Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46071 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/gcc/final')
-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 |