Making other *FLAGS += rather than =

This commit is contained in:
Adam Dunlap 2012-08-27 13:08:48 -07:00
parent d1f49b6ea4
commit d8530a16e8

View file

@ -652,10 +652,10 @@ CPPFLAGS += -mmcu=$(MCU) -DF_CPU=$(F_CPU) -DARDUINO=$(ARDUINO_VERSION) \
-I. -I$(ARDUINO_CORE_PATH) -I$(ARDUINO_VAR_PATH)/$(VARIANT) \ -I. -I$(ARDUINO_CORE_PATH) -I$(ARDUINO_VAR_PATH)/$(VARIANT) \
$(SYS_INCLUDES) $(USER_INCLUDES) -g -Os -w -Wall \ $(SYS_INCLUDES) $(USER_INCLUDES) -g -Os -w -Wall \
-ffunction-sections -fdata-sections -ffunction-sections -fdata-sections
CFLAGS = -std=gnu99 CFLAGS += -std=gnu99
CXXFLAGS = -fno-exceptions CXXFLAGS += -fno-exceptions
ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp ASFLAGS += -mmcu=$(MCU) -I. -x assembler-with-cpp
LDFLAGS = -mmcu=$(MCU) -Wl,--gc-sections -Os LDFLAGS += -mmcu=$(MCU) -Wl,--gc-sections -Os
SIZEFLAGS ?= --mcu=$(MCU) -C SIZEFLAGS ?= --mcu=$(MCU) -C
# Expand and pick the first port # Expand and pick the first port