Fix misunderstanding of CPPFLAGS and CXXFLAGS.

This commit is contained in:
Nick Brassel
2020-01-31 15:29:23 +11:00
parent 6544bd2e65
commit b28ee6b039
6 changed files with 44 additions and 44 deletions
+2 -2
View File
@@ -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"