summaryrefslogtreecommitdiff
path: root/platforms/arm_atsam
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/arm_atsam
parent6221c861860e6e2083ef4de6eb67ed74a1636c4a (diff)
downloadqmk_firmware-e89478eb0fe582d1a30a882e278927e31c9cdcc7.tar.gz
qmk_firmware-e89478eb0fe582d1a30a882e278927e31c9cdcc7.zip
[Core] Update C standard to GNU11, C++ to GNU++14 (#17114)
Diffstat (limited to 'platforms/arm_atsam')
-rw-r--r--platforms/arm_atsam/platform.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/platforms/arm_atsam/platform.mk b/platforms/arm_atsam/platform.mk
index b49bf764d7..9618838dc3 100644
--- a/platforms/arm_atsam/platform.mk
+++ b/platforms/arm_atsam/platform.mk
@@ -30,7 +30,7 @@ COMPILEFLAGS += -mthumb
CFLAGS += $(COMPILEFLAGS)
CXXFLAGS += $(COMPILEFLAGS)
-CXXFLAGS += -fno-exceptions -std=c++11
+CXXFLAGS += -fno-exceptions $(CXXSTANDARD)
LDFLAGS +=-Wl,--gc-sections
LDFLAGS += -Wl,-Map="%OUT%%PROJ_NAME%.map"