From 371c04bf3dad6cd9a8426a70c8ed0c7c33f694db Mon Sep 17 00:00:00 2001 From: Quentin Boswank Date: Sun, 23 Feb 2025 21:37:13 +0100 Subject: Fix disabled libstdc++-v3 the config var is unset and not just `n`. Signed-off-by: Quentin Boswank --- scripts/build/cc/gcc.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/build/cc/gcc.sh') 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) -- cgit v1.2.3