summaryrefslogtreecommitdiffstats
path: root/platforms/avr/platform.mk
diff options
context:
space:
mode:
Diffstat (limited to 'platforms/avr/platform.mk')
-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