summaryrefslogtreecommitdiff
path: root/target/config/Config.in.toolchain
diff options
context:
space:
mode:
Diffstat (limited to 'target/config/Config.in.toolchain')
-rw-r--r--target/config/Config.in.toolchain7
1 files changed, 7 insertions, 0 deletions
diff --git a/target/config/Config.in.toolchain b/target/config/Config.in.toolchain
index 499e67011..0845490a1 100644
--- a/target/config/Config.in.toolchain
+++ b/target/config/Config.in.toolchain
@@ -32,6 +32,13 @@ config ADK_TARGET_CFLAGS_OPT_O0
endchoice
+config ADK_TARGET_CFLAGS_DISABLE_EH
+ bool "Disable exception handling and unwindung via compiler flags"
+ depends on !ADK_DEBUG
+ help
+ Do not use this optimization flags if you are planning to use C++
+ applications, which are often using exception handling.
+
menu "Compiler language support"
config ADK_TOOLCHAIN_WITH_CXX
bool "enable C++"