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:
parent
bdc86e85d7
commit
ceb8bd4bce
@ -5,7 +5,6 @@
|
|||||||
# You can then do "make savedefconfig" to generate a new defconfig file that includes your
|
# You can then do "make savedefconfig" to generate a new defconfig file that includes your
|
||||||
# modifications.
|
# modifications.
|
||||||
#
|
#
|
||||||
# CONFIG_CXX_EXCEPTION is not set
|
|
||||||
CONFIG_ARCH="sim"
|
CONFIG_ARCH="sim"
|
||||||
CONFIG_ARCH_BOARD="sim"
|
CONFIG_ARCH_BOARD="sim"
|
||||||
CONFIG_ARCH_BOARD_SIM=y
|
CONFIG_ARCH_BOARD_SIM=y
|
||||||
|
@ -5,7 +5,6 @@
|
|||||||
# You can then do "make savedefconfig" to generate a new defconfig file that includes your
|
# You can then do "make savedefconfig" to generate a new defconfig file that includes your
|
||||||
# modifications.
|
# modifications.
|
||||||
#
|
#
|
||||||
# CONFIG_CXX_EXCEPTION is not set
|
|
||||||
# CONFIG_NSH_CMDOPT_HEXDUMP is not set
|
# CONFIG_NSH_CMDOPT_HEXDUMP is not set
|
||||||
CONFIG_ARCH="sim"
|
CONFIG_ARCH="sim"
|
||||||
CONFIG_ARCH_BOARD="sim"
|
CONFIG_ARCH_BOARD="sim"
|
||||||
@ -17,6 +16,7 @@ CONFIG_BOARDCTL_POWEROFF=y
|
|||||||
CONFIG_BOARD_LOOPSPERMSEC=0
|
CONFIG_BOARD_LOOPSPERMSEC=0
|
||||||
CONFIG_BOOT_RUNFROMEXTSRAM=y
|
CONFIG_BOOT_RUNFROMEXTSRAM=y
|
||||||
CONFIG_BUILTIN=y
|
CONFIG_BUILTIN=y
|
||||||
|
CONFIG_CXX_EXCEPTION=y
|
||||||
CONFIG_DEBUG_ASSERTIONS=y
|
CONFIG_DEBUG_ASSERTIONS=y
|
||||||
CONFIG_DEBUG_BINFMT=y
|
CONFIG_DEBUG_BINFMT=y
|
||||||
CONFIG_DEBUG_BINFMT_ERROR=y
|
CONFIG_DEBUG_BINFMT_ERROR=y
|
||||||
|
@ -83,7 +83,6 @@ config HAVE_CXXINITIALIZE
|
|||||||
|
|
||||||
config CXX_EXCEPTION
|
config CXX_EXCEPTION
|
||||||
bool "Enable Exception Support"
|
bool "Enable Exception Support"
|
||||||
default LIBCXX || UCLIBCXX
|
|
||||||
|
|
||||||
if UCLIBCXX
|
if UCLIBCXX
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user