From d8530a16e85226756522e38b5d46c805233b0969 Mon Sep 17 00:00:00 2001 From: Adam Dunlap Date: Mon, 27 Aug 2012 13:08:48 -0700 Subject: [PATCH] Making other *FLAGS += rather than = --- arduino-mk/Arduino.mk | 8 ++++---- 1 file 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