summaryrefslogtreecommitdiffstats
path: root/platforms/avr
diff options
context:
space:
mode:
authorStefan Kerkmann <karlk90@pm.me>2022-06-06 00:47:22 +0200
committerGitHub <noreply@github.com>2022-06-06 08:47:22 +1000
commite89478eb0fe582d1a30a882e278927e31c9cdcc7 (patch)
treefcd0b434523d300291bbe8e07b4af657300b5b86 /platforms/avr
parent6221c861860e6e2083ef4de6eb67ed74a1636c4a (diff)
[Core] Update C standard to GNU11, C++ to GNU++14 (#17114)
Diffstat (limited to 'platforms/avr')
-rw-r--r--platforms/avr/platform.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/platforms/avr/platform.mk b/platforms/avr/platform.mk
index 978199b385..b51a94c93a 100644
--- a/platforms/avr/platform.mk
+++ b/platforms/avr/platform.mk
@@ -38,7 +38,7 @@ CFLAGS += -fno-inline-small-functions
CFLAGS += -fno-strict-aliasing
CXXFLAGS += $(COMPILEFLAGS)
-CXXFLAGS += -fno-exceptions -std=c++11
+CXXFLAGS += -fno-exceptions $(CXXSTANDARD)
LDFLAGS += -Wl,--gc-sections