diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-03-21 21:03:22 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-03-21 21:03:22 (GMT) |
commit | aaea34768c73eb404d0f3e34983a4ceba1fa1794 (patch) | |
tree | 26523146ea1651149c8a4064dfbd5c4c57003edd /scripts/build/cc_core_gcc.sh | |
parent | 19e8f6a15ad479ffa59e5f1cfe8ac850a4c5f52d (diff) |
Patch from Enrico WEIGELT <weigelt@metux.de> to disable __cxa_atexit for those C libraries with no support (old uClibc).
Diffstat (limited to 'scripts/build/cc_core_gcc.sh')
-rw-r--r-- | scripts/build/cc_core_gcc.sh | 2 |
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 |