aboutsummaryrefslogtreecommitdiff
path: root/arduino-mk
diff options
context:
space:
mode:
authorSudar <sudar@sudarmuthu.com>2012-08-27 22:55:09 -0700
committerSudar <sudar@sudarmuthu.com>2012-08-27 22:55:09 -0700
commit2bc9cf790e182dd377f3a2705414bb3160dc4a6c (patch)
treeaebab2732408d691a32a607afb5fef9dbfa33e7e /arduino-mk
parentd1f49b6ea4ff9830ef75893f4a26e6c69b39c83c (diff)
parentd8530a16e85226756522e38b5d46c805233b0969 (diff)
Merge pull request #3 from WizenedEE/basic
Making other *FLAGS += rather than =
Diffstat (limited to 'arduino-mk')
-rw-r--r--arduino-mk/Arduino.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/arduino-mk/Arduino.mk b/arduino-mk/Arduino.mk
index 9a85222..8fc8e5c 100644
--- a/arduino-mk/Arduino.mk
+++ b/arduino-mk/Arduino.mk
@@ -652,10 +652,10 @@ CPPFLAGS += -mmcu=$(MCU) -DF_CPU=$(F_CPU) -DARDUINO=$(ARDUINO_VERSION) \
-I. -I$(ARDUINO_CORE_PATH) -I$(ARDUINO_VAR_PATH)/$(VARIANT) \
$(SYS_INCLUDES) $(USER_INCLUDES) -g -Os -w -Wall \
-ffunction-sections -fdata-sections
-CFLAGS = -std=gnu99
-CXXFLAGS = -fno-exceptions
-ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp
-LDFLAGS = -mmcu=$(MCU) -Wl,--gc-sections -Os
+CFLAGS += -std=gnu99
+CXXFLAGS += -fno-exceptions
+ASFLAGS += -mmcu=$(MCU) -I. -x assembler-with-cpp
+LDFLAGS += -mmcu=$(MCU) -Wl,--gc-sections -Os
SIZEFLAGS ?= --mcu=$(MCU) -C
# Expand and pick the first port