summaryrefslogtreecommitdiff
path: root/tmk_core/chibios.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/chibios.mk
parent67d285a1a1d4e3b85b4c07bf5c55f936aa567c52 (diff)
Fix misunderstanding of CPPFLAGS and CXXFLAGS.
Diffstat (limited to 'tmk_core/chibios.mk')
-rw-r--r--tmk_core/chibios.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/tmk_core/chibios.mk b/tmk_core/chibios.mk
index b2e364f216..f9e52aed23 100644
--- a/tmk_core/chibios.mk
+++ b/tmk_core/chibios.mk
@@ -167,8 +167,8 @@ CFLAGS += $(COMPILEFLAGS)
ASFLAGS += $(THUMBFLAGS)
-CPPFLAGS += $(COMPILEFLAGS)
-CPPFLAGS += -fno-rtti
+CXXFLAGS += $(COMPILEFLAGS)
+CXXFLAGS += -fno-rtti
LDFLAGS +=-Wl,--gc-sections
LDFLAGS +=-Wl,--no-wchar-size-warning