diff options
author | Chris Packham <judge.packham@gmail.com> | 2021-06-09 20:11:48 +1200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-09 20:11:48 +1200 |
commit | 594b9286f41e2e5e6ef6cb68fe4c318aa6b7c808 (patch) | |
tree | bae136edcf5030610d9ed0606ba79d7836759244 /config | |
parent | e7139130295097ce05d9c7b3dcbb890c3a084975 (diff) | |
parent | 7144b5f275f380941bffca9509ecb97542c8e5ea (diff) | |
download | crosstool-ng-594b9286f41e2e5e6ef6cb68fe4c318aa6b7c808.tar.gz crosstool-ng-594b9286f41e2e5e6ef6cb68fe4c318aa6b7c808.tar.bz2 crosstool-ng-594b9286f41e2e5e6ef6cb68fe4c318aa6b7c808.zip |
Merge pull request #1524 from stephanosio/gcc_custom_libstdcpp_cxx_flags_upstream
Fix libstdc++ build options
Diffstat (limited to 'config')
-rw-r--r-- | config/comp_libs/newlib-nano.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/config/comp_libs/newlib-nano.in b/config/comp_libs/newlib-nano.in index 0d80c893..5a81fdec 100644 --- a/config/comp_libs/newlib-nano.in +++ b/config/comp_libs/newlib-nano.in @@ -18,6 +18,14 @@ config NEWLIB_NANO_GCC_LIBSTDCXX This option compiles an additional target libstdc++ for use with newlib-nano. +config NEWLIB_NANO_GCC_LIBSTDCXX_TARGET_CXXFLAGS + string + prompt "Target CXXFLAGS for libstdc++ newlib-nano variant" + default "-fno-exceptions" + help + Used to add extra CXXFLAGS when compiling the target libstdc++ + newlib-nano library (e.g. -fno-exceptions). + config NEWLIB_NANO_INSTALL_IN_TARGET bool prompt "Additionally install newlib-nano libs into TARGET dir" |