diff options
author | Jasmin Jessich <jasmin@anw.at> | 2015-08-31 00:11:27 +0200 |
---|---|---|
committer | Jasmin Jessich <jasmin@anw.at> | 2015-09-01 04:08:17 +0200 |
commit | 521d232154c4de9cd7a046d0e03a872ab0a8d47a (patch) | |
tree | 21dfbbbe16c959f56ea35fd563fc64f26de68048 /config/cc | |
parent | 094b5be8fd9b8a99636b802430eb4ae2edc37710 (diff) | |
download | crosstool-ng-521d232154c4de9cd7a046d0e03a872ab0a8d47a.tar.gz crosstool-ng-521d232154c4de9cd7a046d0e03a872ab0a8d47a.tar.bz2 crosstool-ng-521d232154c4de9cd7a046d0e03a872ab0a8d47a.zip |
Fix for issue #147:
Enable definition of "Use __cxa_atexit" for bare-metal systems, if the used
libc does provide such a function. The libc configuration have to select
LIBC_PROVIDES_CXA_ATEXIT.
Signed-off-by: Jasmin Jessich <jasmin@anw.at>
Diffstat (limited to 'config/cc')
-rw-r--r-- | config/cc/gcc.in.2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/cc/gcc.in.2 b/config/cc/gcc.in.2 index fb19938e..cbad6386 100644 --- a/config/cc/gcc.in.2 +++ b/config/cc/gcc.in.2 @@ -165,7 +165,7 @@ config CC_CXA_ATEXIT bool prompt "Use __cxa_atexit" default y - depends on ! BARE_METAL + depends on ! BARE_METAL || LIBC_PROVIDES_CXA_ATEXIT help If you get the missing symbol "__cxa_atexit" when building C++ programs, you might want to try disabling this option. |