From 20dfe4033047ec1bb2cd216a0f2ebf860263b84e Mon Sep 17 00:00:00 2001 From: Gunar Schorcht Date: Thu, 6 Jan 2022 11:20:41 +0100 Subject: [PATCH] sys: remove -std=c++11 --- sys/arduino/Makefile.include | 5 ----- sys/cpp11-compat/Makefile | 3 --- sys/cpp_new_delete/Makefile | 2 -- 3 files changed, 10 deletions(-) diff --git a/sys/arduino/Makefile.include b/sys/arduino/Makefile.include index c9a218d7db..1adec285ca 100644 --- a/sys/arduino/Makefile.include +++ b/sys/arduino/Makefile.include @@ -20,9 +20,4 @@ endif # include the Arduino headers INCLUDES += -I$(RIOTBASE)/sys/arduino/include -# Arduino provices C++11, which is not enabled by default in Ubuntu's avr-gcc -# package, which is __horrible__ out of date. However, we cannot simply ignore -# all Ubuntu users and instead simply manually enable C++11 support -CXXEXFLAGS += -std=c++11 - PSEUDOMODULES += arduino_pwm diff --git a/sys/cpp11-compat/Makefile b/sys/cpp11-compat/Makefile index 9e24ecf137..48422e909a 100644 --- a/sys/cpp11-compat/Makefile +++ b/sys/cpp11-compat/Makefile @@ -1,4 +1 @@ -# This module requires cpp 11 -CXXEXFLAGS += -std=c++11 - include $(RIOTBASE)/Makefile.base diff --git a/sys/cpp_new_delete/Makefile b/sys/cpp_new_delete/Makefile index 025387e061..48422e909a 100644 --- a/sys/cpp_new_delete/Makefile +++ b/sys/cpp_new_delete/Makefile @@ -1,3 +1 @@ include $(RIOTBASE)/Makefile.base - -CXXFLAGS += -std=c++11