aboutsummaryrefslogtreecommitdiffstats
path: root/tmk_core/arm_atsam.mk
diff options
context:
space:
mode:
Diffstat (limited to 'tmk_core/arm_atsam.mk')
-rw-r--r--tmk_core/arm_atsam.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/tmk_core/arm_atsam.mk b/tmk_core/arm_atsam.mk
index c9b14042f..403ebf3a8 100644
--- a/tmk_core/arm_atsam.mk
+++ b/tmk_core/arm_atsam.mk
@@ -29,8 +29,8 @@ COMPILEFLAGS += -mthumb
CFLAGS += $(COMPILEFLAGS)
-CPPFLAGS += $(COMPILEFLAGS)
-CPPFLAGS += -fno-exceptions -std=c++11
+CXXFLAGS += $(COMPILEFLAGS)
+CXXFLAGS += -fno-exceptions -std=c++11
LDFLAGS +=-Wl,--gc-sections
LDFLAGS += -Wl,-Map="%OUT%%PROJ_NAME%.map"