diff --git a/subsys/cpp/Kconfig b/subsys/cpp/Kconfig index 60e060f30f3..a882d8b049a 100644 --- a/subsys/cpp/Kconfig +++ b/subsys/cpp/Kconfig @@ -54,6 +54,7 @@ if LIB_CPLUSPLUS config EXCEPTIONS bool "Enable C++ exceptions support" + depends on !NIOS2 && !SPARC help This option enables support of C++ exceptions.