From 3a22af5d9b68cebb1b65a025924b88b7a46e4aa9 Mon Sep 17 00:00:00 2001 From: SPRESENSE <41312067+SPRESENSE@users.noreply.github.com> Date: Sun, 4 Jul 2021 12:47:03 +0900 Subject: [PATCH] boards: cxd56xx: Change c++ option to -std=c++11 Change CXXFLAGS from -std=c++98 to -std=c++11. --- boards/arm/cxd56xx/spresense/scripts/Make.defs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards/arm/cxd56xx/spresense/scripts/Make.defs b/boards/arm/cxd56xx/spresense/scripts/Make.defs index 66402ae646..03001a31da 100644 --- a/boards/arm/cxd56xx/spresense/scripts/Make.defs +++ b/boards/arm/cxd56xx/spresense/scripts/Make.defs @@ -49,7 +49,7 @@ ifneq ($(CONFIG_DEBUG_NOOPT),y) endif ARCHCFLAGS = -fno-builtin -mabi=aapcs -ffunction-sections -fdata-sections -ARCHCXXFLAGS = -fno-builtin -fno-exceptions -fno-rtti -std=c++98 +ARCHCXXFLAGS = -fno-builtin -fno-exceptions -fno-rtti -std=c++11 ARCHWARNINGS = -Wall -Wstrict-prototypes -Wshadow -Wundef ARCHWARNINGSXX = -Wall -Wshadow -Wundef ARCHPICFLAGS = -fpic -msingle-pic-base -mpic-register=r10