diff options
author | Norbert Lange <nolange79@gmail.com> | 2019-10-28 09:24:57 (GMT) |
---|---|---|
committer | Chris Packham <judge.packham@gmail.com> | 2022-02-23 07:21:16 (GMT) |
commit | ad3996a483b40e428bc88568ca56944e28efeeaf (patch) | |
tree | 8d9c08386877330c4a2f3954ace51e82d31a24e5 /config/cc | |
parent | 2a856608e107784a88561d0399db82c9aabd76fd (diff) |
gcc: add gcc libstdcxx-verbose option
Rather important option for arm cortex toolchains supporting c++,
avoids pulling in all printf/iostream code by default.
Signed-off-by: Norbert Lange <nolange79@gmail.com>
Diffstat (limited to 'config/cc')
-rw-r--r-- | config/cc/gcc.in | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/config/cc/gcc.in b/config/cc/gcc.in index a708bb8..c9c1bad 100644 --- a/config/cc/gcc.in +++ b/config/cc/gcc.in @@ -280,6 +280,23 @@ config CC_GCC_LIBMPX help Enable GCC support for Intel Memory Protection Extensions (MPX). +config CC_GCC_LIBSTDCXX_VERBOSE + tristate + default n if BARE_METAL + default m if !BARE_METAL + prompt "Verbose libstdc++" + depends on GCC_4_8_or_later + depends on CC_LANG_CXX + help + Write descriptive error messages on certain events. + + Those messages cause the library to depend on the demangler and + standard I/O facilities, which will pull in alot of dependencies + on static builds. + On embedded systems this is often not wanted, and the std io + facilities might not work at all. + + #----------------------------------------------------------------------------- comment "Misc. obscure options." |