diff options
author | Bryan Hundven <bryanhundven@gmail.com> | 2015-09-05 23:20:53 (GMT) |
---|---|---|
committer | Bryan Hundven <bryanhundven@gmail.com> | 2015-09-05 23:20:53 (GMT) |
commit | c01a5f08bce4e3cd2a3ce04f0d8e84c85e31ada6 (patch) | |
tree | d7a07bcb60876d6be746cc4a5fa52764f03f41b3 /config/cc | |
parent | f4bfca0f64c4d706f0f1882c829d3ca78a025e39 (diff) | |
parent | 521d232154c4de9cd7a046d0e03a872ab0a8d47a (diff) |
Merge pull request #148 from jasmin-j/fix_147
Use __cxa_atexit for bare-metal systems, if the used libc provides such a function.
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 fb19938..cbad638 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. |