diff options
author | Ian Cooper <iancooper@hotmail.com> | 2020-06-15 22:14:04 +0100 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2020-06-17 23:57:07 +0200 |
commit | b933f9cf0cb254e368027cad6d5799e45b237df5 (patch) | |
tree | 26bbaa3322a276dac5d7cf456d51c328baac9a7e /toolchain/Config.in | |
parent | ba7ddae9a9d0aae9aaf00cfb2438286c2ee21098 (diff) | |
download | upstream-b933f9cf0cb254e368027cad6d5799e45b237df5.tar.gz upstream-b933f9cf0cb254e368027cad6d5799e45b237df5.tar.bz2 upstream-b933f9cf0cb254e368027cad6d5799e45b237df5.zip |
toolchain: remove gcc libssp and use libc variant
Removes the standalone implementation of stack smashing protection
in gcc's libssp in favour of the native implementation available
in glibc and uclibc. Musl libc already uses its native ssp, so this
patch does not affect musl-based toolchains.
Stack smashing protection configuration options are now uniform
across all supported libc variants.
This also makes kernel-level stack smashing protection available
for x86_64 and i386 builds using non-musl libc.
Signed-off-by: Ian Cooper <iancooper@hotmail.com>
Diffstat (limited to 'toolchain/Config.in')
-rw-r--r-- | toolchain/Config.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolchain/Config.in b/toolchain/Config.in index 762f4e10d7..cb557d4ad3 100644 --- a/toolchain/Config.in +++ b/toolchain/Config.in @@ -284,7 +284,7 @@ config USE_MUSL bool config SSP_SUPPORT - default y if USE_MUSL || GCC_LIBSSP + default y if !PKG_CC_STACKPROTECTOR_NONE bool config USE_EXTERNAL_LIBC |