diff options
author | Alexey Neyman <stilor@att.net> | 2018-12-06 23:19:13 -0800 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2018-12-07 00:03:04 -0800 |
commit | e149e28e57de91cad96033047872d84e6938ea23 (patch) | |
tree | e1aaf2cccc82f1b5ce1b7a76232060f09f5e6dc6 /config/libc | |
parent | 9d2a5f8413d397d189e67c80b7ebab2bd30d42ac (diff) | |
download | crosstool-ng-e149e28e57de91cad96033047872d84e6938ea23.tar.gz crosstool-ng-e149e28e57de91cad96033047872d84e6938ea23.tar.bz2 crosstool-ng-e149e28e57de91cad96033047872d84e6938ea23.zip |
Disable -fstack-protector* from being used by glibc
... until it was fixed (to some extent) in 2.25.
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'config/libc')
-rw-r--r-- | config/libc/glibc.in | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/config/libc/glibc.in b/config/libc/glibc.in index 527063f4..6598c31f 100644 --- a/config/libc/glibc.in +++ b/config/libc/glibc.in @@ -42,6 +42,10 @@ config GLIBC_DEP_GCC config THREADS default "nptl" +config GLIBC_BUILD_SSP + def_bool y + depends on GLIBC_2_25_or_later + # Known add-ons and when they exist(ed) # crypt external in 2.1, no longer an add-on since 2.2 # libidn external in 2.3.4 .. 2.10, still an add-on @@ -320,7 +324,7 @@ config GLIBC_MIN_KERNEL default LINUX_VERSION if GLIBC_KERNEL_VERSION_AS_HEADERS default GLIBC_MIN_KERNEL_VERSION if GLIBC_KERNEL_VERSION_CHOSEN - +if GLIBC_BUILD_SSP choice bool "Stack-smashing protection (SSP) in glibc" default GLIBC_SSP_DEFAULT @@ -371,4 +375,6 @@ config GLIBC_ENABLE_WERROR of the compiler than there were available at the time of a glibc release (because newer compilers typically have better diagnostics). +endif + endif # KERNEL_LINUX |