diff options
author | Stefan Kerkmann <karlk90@pm.me> | 2022-06-06 00:47:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-06 08:47:22 +1000 |
commit | e89478eb0fe582d1a30a882e278927e31c9cdcc7 (patch) | |
tree | fcd0b434523d300291bbe8e07b4af657300b5b86 /platforms/arm_atsam | |
parent | 6221c861860e6e2083ef4de6eb67ed74a1636c4a (diff) | |
download | qmk_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.mk | 2 |
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" |