This is an automated email from the ASF dual-hosted git repository. gustavonihei pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit 7f91fcdf892f153998516ef66232b9a85ffcbb45 Author: Xiang Xiao <xiaoxi...@xiaomi.com> AuthorDate: Sat Apr 30 03:48:54 2022 +0800 boards/arm: Remove the unneeded C++ config from stm32l4/nucleo-l476rg Signed-off-by: Xiang Xiao <xiaoxi...@xiaomi.com> --- 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