summaryrefslogtreecommitdiff
path: root/scripts/build/cc_core_gcc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/cc_core_gcc.sh')
-rw-r--r--scripts/build/cc_core_gcc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/cc_core_gcc.sh b/scripts/build/cc_core_gcc.sh
index 720a581..b5fa46e 100644
--- a/scripts/build/cc_core_gcc.sh
+++ b/scripts/build/cc_core_gcc.sh
@@ -20,6 +20,7 @@ do_cc_core() {
[ -n "${CT_ARCH_TUNE}" ] && extra_config="${extra_config} --with-tune=${CT_ARCH_TUNE}"
[ -n "${CT_ARCH_ARCH}" ] && extra_config="${extra_config} --with-arch=${CT_ARCH_ARCH}"
[ -n "${CT_ARCH_FPU}" ] && extra_config="${extra_config} --with-fpu=${CT_ARCH_FPU}"
+ [ "${CT_CC_CXA_ATEXIT}" == "y" ] && extra_config="${extra_config} --enable-__cxa_atexit"
CT_DoLog DEBUG "Extra config passed: \"${extra_config}\""
@@ -38,7 +39,6 @@ do_cc_core() {
--disable-nls \
--enable-threads=no \
--enable-symvers=gnu \
- --enable-__cxa_atexit \
--enable-languages=c \
--disable-shared \
${CT_CC_CORE_EXTRA_CONFIG} 2>&1 |CT_DoLog DEBUG