cpp: Restrict C++ exceptions usage to supported archs

This commit makes CONFIG_EXCEPTIONS un-selectable for the architectures
that are known to have broken C++ exception handling support
(see #32448).

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit is contained in:
Stephanos Ioannidis 2021-05-27 21:37:40 +09:00 committed by Kumar Gala
commit d05977b8e1

View file

@ -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.