Merge pull request #3 from WizenedEE/basic
Making other *FLAGS += rather than =
This commit is contained in:
commit
2bc9cf790e
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue