boards/arm: Remove the unneeded C++ config from stm32l4/nucleo-l476rg

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-04-30 03:48:54 +08:00 committed by Gustavo Henrique Nihei
parent 94cb0c6072
commit 7f91fcdf89

View File

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