summaryrefslogtreecommitdiff
path: root/tmk_core/avr.mk
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2020-01-04 12:21:08 +1100
committerFlorian Didron <fdidron@users.noreply.github.com>2020-02-26 10:15:12 +0900
commit02f0f0811da6cd394ef4d84d2e1f74065a119160 (patch)
treee1e3e10c10468c96c4eb10edf18d61ea77b46dd3 /tmk_core/avr.mk
parent67d285a1a1d4e3b85b4c07bf5c55f936aa567c52 (diff)
Fix misunderstanding of CPPFLAGS and CXXFLAGS.
Diffstat (limited to 'tmk_core/avr.mk')
-rw-r--r--tmk_core/avr.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/tmk_core/avr.mk b/tmk_core/avr.mk
index 8207394d74..82849e1a6a 100644
--- a/tmk_core/avr.mk
+++ b/tmk_core/avr.mk
@@ -25,8 +25,8 @@ CFLAGS += $(COMPILEFLAGS)
CFLAGS += -fno-inline-small-functions
CFLAGS += -fno-strict-aliasing
-CPPFLAGS += $(COMPILEFLAGS)
-CPPFLAGS += -fno-exceptions -std=c++11
+CXXFLAGS += $(COMPILEFLAGS)
+CXXFLAGS += -fno-exceptions -std=c++11
LDFLAGS +=-Wl,--gc-sections