aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon John <git@the-jedi.co.uk>2014-08-01 12:17:06 +0200
committerSimon John <git@the-jedi.co.uk>2014-08-01 12:17:06 +0200
commit2f4d6c11f05d6c544c5d4f46aff283e211605710 (patch)
treecde63343e6f1967e78a26f0567ec25f54c69974e
parent92b775d794e06afd040281cd0463ec42f147c13b (diff)
Fix CFLAGS vs CXXFLAGS typo
-rw-r--r--Arduino.mk2
-rw-r--r--HISTORY.md1
2 files changed, 2 insertions, 1 deletions
diff --git a/Arduino.mk b/Arduino.mk
index 1fa80ff..d226e6e 100644
--- a/Arduino.mk
+++ b/Arduino.mk
@@ -1029,7 +1029,7 @@ $(OBJDIR)/libs/%.o: $(ARDUINO_LIB_PATH)/%.S
$(OBJDIR)/libs/%.o: $(USER_LIB_PATH)/%.cpp
@$(MKDIR) $(dir $@)
- $(CC) -MMD -c $(CPPFLAGS) $(CFLAGS) $< -o $@
+ $(CC) -MMD -c $(CPPFLAGS) $(CXXFLAGS) $< -o $@
$(OBJDIR)/libs/%.o: $(USER_LIB_PATH)/%.c
@$(MKDIR) $(dir $@)
diff --git a/HISTORY.md b/HISTORY.md
index aa0fdda..c59684f 100644
--- a/HISTORY.md
+++ b/HISTORY.md
@@ -8,6 +8,7 @@ I tried to give credit whenever possible. If I have missed anyone, kindly add it
- Tweak: Allow remove of any OBJDIR with `$(REMOVE) $(OBJDIR)`. (https://github.com/ladislas)
- Fix: Change "tinyladi" username to "ladislas" in HISTORY.md. (https://github.com/ladislas)
- Add: Add information about `Bare-Arduino–Project` in README. (https://github.com/ladislas)
+- Fix: Make avr-g++ use CXXFLAGS instead of CFLAGS. (https://github.com/sej7278)
### 1.3.4 (2014-07-12)
- Tweak: Allow spaces in "Serial.begin (....)". (Issue #190) (https://github.com/pdav)