boards/arm: Remove the unneeded C++ config from stm32l4/nucleo-l476rg
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
94cb0c6072
commit
7f91fcdf89
@ -42,12 +42,7 @@ CPPFLAGS := $(ARCHINCLUDES) $(ARCHDEFINES) $(EXTRAFLAGS)
|
||||
AFLAGS := $(CFLAGS) -D__ASSEMBLY__
|
||||
|
||||
ifeq ($(CONFIG_LIBCXX),y)
|
||||
CXXFLAGS += -std=c++14 -D__GLIBCXX__ -DMB_LEN_MAX=8 -DHAVE_DEPENDENT_EH_ABI=0 \
|
||||
-D_DEBUG -D_LIBCPP_BUILD_STATIC -D_LIBCPP_STD_VER=14
|
||||
|
||||
ifneq ($(CONFIG_CXX_EXCEPTION),y)
|
||||
CXXFLAGS += -D_LIBCPP_NO_EXCEPTIONS
|
||||
endif
|
||||
CXXFLAGS += -std=c++14
|
||||
endif
|
||||
|
||||
NXFLATLDFLAGS1 = -r -d -warn-common
|
||||
|
Loading…
Reference in New Issue
Block a user