libxx: Disable CXX_EXCEPTION by default to save the code space

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I1b1fafa95f0e385a615dba78f43858b797c5ce69
This commit is contained in:
Xiang Xiao 2021-08-28 09:48:37 +08:00 committed by Gustavo Henrique Nihei
parent bdc86e85d7
commit ceb8bd4bce
3 changed files with 1 additions and 3 deletions

View File

@ -5,7 +5,6 @@
# You can then do "make savedefconfig" to generate a new defconfig file that includes your
# modifications.
#
# CONFIG_CXX_EXCEPTION is not set
CONFIG_ARCH="sim"
CONFIG_ARCH_BOARD="sim"
CONFIG_ARCH_BOARD_SIM=y

View File

@ -5,7 +5,6 @@
# You can then do "make savedefconfig" to generate a new defconfig file that includes your
# modifications.
#
# CONFIG_CXX_EXCEPTION is not set
# CONFIG_NSH_CMDOPT_HEXDUMP is not set
CONFIG_ARCH="sim"
CONFIG_ARCH_BOARD="sim"
@ -17,6 +16,7 @@ CONFIG_BOARDCTL_POWEROFF=y
CONFIG_BOARD_LOOPSPERMSEC=0
CONFIG_BOOT_RUNFROMEXTSRAM=y
CONFIG_BUILTIN=y
CONFIG_CXX_EXCEPTION=y
CONFIG_DEBUG_ASSERTIONS=y
CONFIG_DEBUG_BINFMT=y
CONFIG_DEBUG_BINFMT_ERROR=y

View File

@ -83,7 +83,6 @@ config HAVE_CXXINITIALIZE
config CXX_EXCEPTION
bool "Enable Exception Support"
default LIBCXX || UCLIBCXX
if UCLIBCXX