diff options
| author | Nick Brassel | 2020-01-04 02:21:08 +0100 |
|---|---|---|
| committer | Nick Brassel | 2020-01-31 05:29:23 +0100 |
| commit | b28ee6b039841c387685ea54c8206cc6c2a6cb8a (patch) | |
| tree | c8105304d97114b279c81465b4d4d923a731432e /tmk_core/arm_atsam.mk | |
| parent | 6544bd2e65664307f9572cc8110b55df250b0302 (diff) | |
Fix misunderstanding of CPPFLAGS and CXXFLAGS.
Diffstat (limited to 'tmk_core/arm_atsam.mk')
| -rw-r--r-- | tmk_core/arm_atsam.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tmk_core/arm_atsam.mk b/tmk_core/arm_atsam.mk index c9b14042f8..403ebf3a89 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" |