From 7f91fcdf892f153998516ef66232b9a85ffcbb45 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Sat, 30 Apr 2022 03:48:54 +0800 Subject: [PATCH] boards/arm: Remove the unneeded C++ config from stm32l4/nucleo-l476rg Signed-off-by: Xiang Xiao --- boards/arm/stm32l4/nucleo-l476rg/scripts/Make.defs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/boards/arm/stm32l4/nucleo-l476rg/scripts/Make.defs b/boards/arm/stm32l4/nucleo-l476rg/scripts/Make.defs index 12e1bd7115..53c645e368 100644 --- a/boards/arm/stm32l4/nucleo-l476rg/scripts/Make.defs +++ b/boards/arm/stm32l4/nucleo-l476rg/scripts/Make.defs @@ -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