diff options
author | Quentin Boswank <qubos@outlook.de> | 2025-02-23 21:37:13 +0100 |
---|---|---|
committer | Chris Packham <judge.packham@gmail.com> | 2025-03-10 08:36:44 +1300 |
commit | 371c04bf3dad6cd9a8426a70c8ed0c7c33f694db (patch) | |
tree | a58fca54499444d7b658b02dde0a15d4dd428074 /scripts/build/cc/gcc.sh | |
parent | 7458341776f14d4d12e6d6fe51382e87e832894f (diff) | |
download | crosstool-ng-371c04bf3dad6cd9a8426a70c8ed0c7c33f694db.tar.gz crosstool-ng-371c04bf3dad6cd9a8426a70c8ed0c7c33f694db.tar.bz2 crosstool-ng-371c04bf3dad6cd9a8426a70c8ed0c7c33f694db.zip |
Fix disabled libstdc++-v3
the config var is unset and not just `n`.
Signed-off-by: Quentin Boswank <qubos@outlook.de>
Diffstat (limited to 'scripts/build/cc/gcc.sh')
-rw-r--r-- | scripts/build/cc/gcc.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/cc/gcc.sh b/scripts/build/cc/gcc.sh index 2d57459b..7e0f8160 100644 --- a/scripts/build/cc/gcc.sh +++ b/scripts/build/cc/gcc.sh @@ -390,7 +390,7 @@ do_gcc_core_backend() { esac if [ "${build_libstdcxx}" = "yes" ]; then - if [ "${CT_CC_GCC_LIBSTDCXX}" = "n" ]; then + if [ "x${CT_CC_GCC_LIBSTDCXX}" = "x" ]; then build_libstdcxx="no" elif [ "${CT_CC_GCC_LIBSTDCXX}" = "y" ]; then extra_config+=("--enable-libstdcxx") @@ -1091,7 +1091,7 @@ do_gcc_backend() { "") extra_config+=("--disable-libstdcxx-verbose");; esac - if [ "${CT_CC_GCC_LIBSTDCXX}" = "n" ]; then + if [ "x${CT_CC_GCC_LIBSTDCXX}" = "x" ]; then extra_config+=(--disable-libstdcxx) elif [ "${CT_CC_GCC_LIBSTDCXX}" = "y" ]; then extra_config+=(--enable-libstdcxx) |