diff options
author | Alexey Neyman <stilor@att.net> | 2018-12-07 00:05:19 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-07 00:05:19 -0800 |
commit | 4c2c2315dfaefc7261f12fbbbf4ce5639dad94a2 (patch) | |
tree | 7990dc378b74ecd2030cf8666da411c5971f20e5 /scripts/build/libc | |
parent | f8874f447e40852d33d65c1f443a90b0760901df (diff) | |
parent | 0ffcfd657c4a3e6e5cd91071bd9825d50e2c413f (diff) | |
download | crosstool-ng-4c2c2315dfaefc7261f12fbbbf4ce5639dad94a2.tar.gz crosstool-ng-4c2c2315dfaefc7261f12fbbbf4ce5639dad94a2.tar.bz2 crosstool-ng-4c2c2315dfaefc7261f12fbbbf4ce5639dad94a2.zip |
Merge pull request #1109 from stilor/cflags-non-multilib
Fixes for 1107
Diffstat (limited to 'scripts/build/libc')
-rw-r--r-- | scripts/build/libc/glibc.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/build/libc/glibc.sh b/scripts/build/libc/glibc.sh index 4d44fea9..312c88f1 100644 --- a/scripts/build/libc/glibc.sh +++ b/scripts/build/libc/glibc.sh @@ -185,6 +185,14 @@ glibc_backend_once() # Hide host C++ binary from configure echo "ac_cv_prog_ac_ct_CXX=${CT_TARGET}-g++" >>config.cache + # Until it became explicitly controllable with --enable-stack-protector=..., + # configure detected GCC support for -fstack-protector{,-strong} and + # tried to enable it in some parts of glibc - which then failed to build. + if [ -z "${CT_GLIBC_BUILD_SSP}" ]; then + echo "libc_cv_ssp=no" >>config.cache + echo "libc_cv_ssp_strong=no" >>config.cache + fi + if [ "${CT_GLIBC_FORCE_UNWIND}" = "y" ]; then echo "libc_cv_forced_unwind=yes" >>config.cache echo "libc_cv_c_cleanup=yes" >>config.cache |