diff options
author | Steven Barth <cyrus@openwrt.org> | 2015-06-22 10:31:07 +0000 |
---|---|---|
committer | Steven Barth <cyrus@openwrt.org> | 2015-06-22 10:31:07 +0000 |
commit | 1877bc9d8f2be143fbe530347a945850d0ecd234 (patch) | |
tree | fe99374fe0af943707c608a4112f662b9d8d7aa3 /toolchain/gcc/Config.in | |
parent | e0a3d9d1152a05c7c8ba6cd713e394c862ce9252 (diff) | |
download | upstream-1877bc9d8f2be143fbe530347a945850d0ecd234.tar.gz upstream-1877bc9d8f2be143fbe530347a945850d0ecd234.tar.bz2 upstream-1877bc9d8f2be143fbe530347a945850d0ecd234.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>
SVN-Revision: 46108
Diffstat (limited to 'toolchain/gcc/Config.in')
-rw-r--r-- | toolchain/gcc/Config.in | 3 |
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 |