diff options
author | Bryan Hundven <bryanhundven@gmail.com> | 2015-10-07 13:31:19 -0700 |
---|---|---|
committer | Bryan Hundven <bryanhundven@gmail.com> | 2015-10-07 13:31:19 -0700 |
commit | 866bff13071dd43bb2ef5eaf4022ed9bf7522d4a (patch) | |
tree | b0eac62ab1dfe78d413c5c842a4895488fd04936 /scripts | |
parent | 5f2d69fb9daed3eac80cc3d2c222ffd13d431c14 (diff) | |
parent | 9c3248af89470dc1bc0bcc1c8af9c35d566d5eda (diff) | |
download | crosstool-ng-866bff13071dd43bb2ef5eaf4022ed9bf7522d4a.tar.gz crosstool-ng-866bff13071dd43bb2ef5eaf4022ed9bf7522d4a.tar.bz2 crosstool-ng-866bff13071dd43bb2ef5eaf4022ed9bf7522d4a.zip |
Merge pull request #182 from jasmin-j/add_missing_lib_opts
Adding missing if/else blocks in do_gcc_core_backend.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/build/cc/100-gcc.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/build/cc/100-gcc.sh b/scripts/build/cc/100-gcc.sh index 72534fe9..374b038e 100644 --- a/scripts/build/cc/100-gcc.sh +++ b/scripts/build/cc/100-gcc.sh @@ -362,6 +362,21 @@ do_gcc_core_backend() { extra_config+=(--disable-libgomp) extra_config+=(--disable-libmudflap) + if [ "${CT_CC_GCC_LIBSSP}" = "y" ]; then + extra_config+=(--enable-libssp) + else + extra_config+=(--disable-libssp) + fi + if [ "${CT_CC_GCC_HAS_LIBQUADMATH}" = "y" ]; then + if [ "${CT_CC_GCC_LIBQUADMATH}" = "y" ]; then + extra_config+=(--enable-libquadmath) + extra_config+=(--enable-libquadmath-support) + else + extra_config+=(--disable-libquadmath) + extra_config+=(--disable-libquadmath-support) + fi + fi + [ "${CT_TOOLCHAIN_ENABLE_NLS}" != "y" ] && extra_config+=("--disable-nls") [ "${CT_CC_GCC_DISABLE_PCH}" = "y" ] && extra_config+=("--disable-libstdcxx-pch") |