aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/Config.in
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2015-06-22 10:31:07 +0000
committerSteven Barth <steven@midlink.org>2015-06-22 10:31:07 +0000
commitf13f59d31b606458ace4432053c12f1e8006d82f (patch)
tree5d92f3ef03e6183fa5cff49627eaf3dabd2f86cd /toolchain/gcc/Config.in
parente1722c400783c9c622ae6eb31e50dbbaab1b0b44 (diff)
downloadmaster-187ad058-f13f59d31b606458ace4432053c12f1e8006d82f.tar.gz
master-187ad058-f13f59d31b606458ace4432053c12f1e8006d82f.tar.bz2
master-187ad058-f13f59d31b606458ace4432053c12f1e8006d82f.zip
gcc/musl: rework SSP-support
Make musl provide libssp_nonshared.a and make GCC link it unconditionally if musl is used. This should be a no-op if SSP is disabled and seems to be the only reliable way of dealing with SSP over all packages due to the mess that is linkerflags handling in packages. Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46108 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/gcc/Config.in')
-rw-r--r--toolchain/gcc/Config.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/toolchain/gcc/Config.in b/toolchain/gcc/Config.in
index 5cb4d23e16..025ea2453d 100644
--- a/toolchain/gcc/Config.in
+++ b/toolchain/gcc/Config.in
@@ -42,7 +42,8 @@ config EXTRA_GCC_CONFIG_OPTIONS
config SSP_SUPPORT
bool
prompt "Enable Stack-Smashing Protection support" if TOOLCHAINOPTS
- default y
+ depends on !USE_MUSL
+ default y if !USE_MUSL
help
Enable Stack-Smashing Protection support