From aa44c8ab7889344e6762a5cde07a0bfbd38961d1 Mon Sep 17 00:00:00 2001 From: Gunar Schorcht Date: Thu, 6 Jan 2022 11:20:14 +0100 Subject: [PATCH] pkg: remove -std=c++11 --- pkg/arduino_api/Makefile.include | 2 -- pkg/flatbuffers/Makefile.include | 3 --- pkg/talking_leds/Makefile.include | 2 -- pkg/utensor/Makefile.include | 4 ---- 4 files changed, 11 deletions(-) diff --git a/pkg/arduino_api/Makefile.include b/pkg/arduino_api/Makefile.include index d8d5bd0cbe..3987ecabda 100644 --- a/pkg/arduino_api/Makefile.include +++ b/pkg/arduino_api/Makefile.include @@ -1,3 +1 @@ INCLUDES += -I$(PKGDIRBASE)/arduino_api/api - -CXXEXFLAGS += -std=c++11 diff --git a/pkg/flatbuffers/Makefile.include b/pkg/flatbuffers/Makefile.include index 1a399bee76..f234b0a7e5 100644 --- a/pkg/flatbuffers/Makefile.include +++ b/pkg/flatbuffers/Makefile.include @@ -7,8 +7,5 @@ ifneq (0,$(shell which flatc > /dev/null 2>&1 ; echo $$?)) $(call target-export-variables,all,FLATC) endif -# This module requires cpp11 support -CXXEXFLAGS += -std=c++11 - # This package is a header only package, so there's nothing to build PSEUDOMODULES += flatbuffers diff --git a/pkg/talking_leds/Makefile.include b/pkg/talking_leds/Makefile.include index 102cad5aad..7340b5eec2 100644 --- a/pkg/talking_leds/Makefile.include +++ b/pkg/talking_leds/Makefile.include @@ -1,3 +1 @@ INCLUDES += -I$(PKGDIRBASE)/talking_leds/src - -CXXEXFLAGS += -std=c++11 diff --git a/pkg/utensor/Makefile.include b/pkg/utensor/Makefile.include index 6b0ee8302c..829f5da897 100644 --- a/pkg/utensor/Makefile.include +++ b/pkg/utensor/Makefile.include @@ -11,7 +11,3 @@ ifeq (llvm,$(TOOLCHAIN)) CXXEXFLAGS += -Wno-unused-variable CXXEXFLAGS += -Wno-shift-count-negative endif - -ifneq (native,$(BOARD)) - CXXEXFLAGS += -std=c++11 -endif