aboutsummaryrefslogtreecommitdiffstats
path: root/tmk_core/chibios.mk
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2020-01-04 12:21:08 +1100
committerNick Brassel <nick@tzarc.org>2020-01-31 15:29:23 +1100
commitb28ee6b039841c387685ea54c8206cc6c2a6cb8a (patch)
treec8105304d97114b279c81465b4d4d923a731432e /tmk_core/chibios.mk
parent6544bd2e65664307f9572cc8110b55df250b0302 (diff)
downloadfirmware-b28ee6b039841c387685ea54c8206cc6c2a6cb8a.tar.gz
firmware-b28ee6b039841c387685ea54c8206cc6c2a6cb8a.tar.bz2
firmware-b28ee6b039841c387685ea54c8206cc6c2a6cb8a.zip
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 b2e364f21..f9e52aed2 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