diff options
author | Keith Packard <keithp@keithp.com> | 2021-01-11 23:27:45 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2021-01-14 15:05:10 -0800 |
commit | beb587a2711885e5630e695cf89767d5de5df4d1 (patch) | |
tree | 152cc80bacb6a3fa67d3d6023b99881b40da9213 /config | |
parent | 15e053fdc44e8c4a8fe1f87ea2e6787b8420dcd1 (diff) | |
download | crosstool-ng-beb587a2711885e5630e695cf89767d5de5df4d1.tar.gz crosstool-ng-beb587a2711885e5630e695cf89767d5de5df4d1.tar.bz2 crosstool-ng-beb587a2711885e5630e695cf89767d5de5df4d1.zip |
newlib-nano: Build libstdc++ against newlib-nano if requested
This uses the gcc support for building libstdc++ using alternate lib
header files.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'config')
-rw-r--r-- | config/comp_libs/newlib-nano.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/config/comp_libs/newlib-nano.in b/config/comp_libs/newlib-nano.in index ee05b924..0138a7fb 100644 --- a/config/comp_libs/newlib-nano.in +++ b/config/comp_libs/newlib-nano.in @@ -9,6 +9,15 @@ ## help array of processors, and will usually work on any architecture with ## help the addition of a few low-level routines. +config NEWLIB_NANO_GCC_LIBSTDCXX + bool + prompt "Compile libstdc++ newlib-nano variant" + default y + depends on CC_LANG_CXX + help + This option compiles an additional target libstdc++ for use with + newlib-nano. + # maybe older versions of newlib will support it too, but this # needs to be checked config NEWLIB_NANO_CXA_ATEXIT |