summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2021-06-09 08:11:48 (GMT)
committerGitHub <noreply@github.com>2021-06-09 08:11:48 (GMT)
commit594b9286f41e2e5e6ef6cb68fe4c318aa6b7c808 (patch)
treebae136edcf5030610d9ed0606ba79d7836759244 /config
parente7139130295097ce05d9c7b3dcbb890c3a084975 (diff)
parent7144b5f275f380941bffca9509ecb97542c8e5ea (diff)
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.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/config/comp_libs/newlib-nano.in b/config/comp_libs/newlib-nano.in
index 0d80c89..5a81fde 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"