summaryrefslogtreecommitdiffstats
path: root/rules/uclibc.in
diff options
context:
space:
mode:
authorLadislav Michl <ladis@linux-mips.org>2007-03-28 15:50:43 +0000
committerLadislav Michl <ladis@linux-mips.org>2007-03-28 15:50:43 +0000
commit659c0f3fa5ed10e8357d0087b27ed26f823b4dc5 (patch)
treeb4cf4dbdd920f03e018804df6aaabbcc65478dcb /rules/uclibc.in
parente29fb4727273bdf0453de0ac30199540555c70ad (diff)
downloadOSELAS.Toolchain-659c0f3fa5ed10e8357d0087b27ed26f823b4dc5.tar.gz
OSELAS.Toolchain-659c0f3fa5ed10e8357d0087b27ed26f823b4dc5.tar.xz
Use _cxa_atexit, rather than atexit, to register C++ destructors for local
statics and global objects only when libc provides __cxa_atexit. That currently means glibc and uClibc-0.9.29 (once released) and later. git-svn-id: https://svn.pengutronix.de/svn/oselas/toolchain/trunks/OSELAS.Toolchain-trunk@2340 f8d472c7-5700-0410-ac5a-87979cec3adf
Diffstat (limited to 'rules/uclibc.in')
-rw-r--r--rules/uclibc.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules/uclibc.in b/rules/uclibc.in
index 21df458..3f150bb 100644
--- a/rules/uclibc.in
+++ b/rules/uclibc.in
@@ -15,6 +15,7 @@ choice
config UCLIBC_VERSION_0_9_29
bool "0.9.29"
+ select CROSS_GCC_ENABLE_CXA_ATEXIT
help
Specify the uclibc version here.