aboutsummaryrefslogtreecommitdiff
path: root/scripts/build/cc
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/cc')
-rw-r--r--scripts/build/cc/gcc.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/build/cc/gcc.sh b/scripts/build/cc/gcc.sh
index f14f31da..275e239c 100644
--- a/scripts/build/cc/gcc.sh
+++ b/scripts/build/cc/gcc.sh
@@ -1052,6 +1052,8 @@ do_gcc_backend() {
if [ "${build_libstdcxx}" = "no" ]; then
extra_config+=(--disable-libstdcxx)
+ elif [ "${CT_CC_GCC_EXTRA_LIBSTDCXX}" = "y" ]; then
+ extra_config+=(--enable-libstdcxx)
fi
if [ "${CT_LIBC_PICOLIBC}" = "y" ]; then