diff options
| author | Adam Dunlap <dunlapadam@gmail.com> | 2012-08-27 13:08:48 -0700 |
|---|---|---|
| committer | Adam Dunlap <dunlapadam@gmail.com> | 2012-08-27 13:08:48 -0700 |
| commit | d8530a16e85226756522e38b5d46c805233b0969 (patch) | |
| tree | aebab2732408d691a32a607afb5fef9dbfa33e7e | |
| parent | d1f49b6ea4ff9830ef75893f4a26e6c69b39c83c (diff) | |
Making other *FLAGS += rather than =
| -rw-r--r-- | arduino-mk/Arduino.mk | 8 |
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 |
