Fix chipKIT compilation in OS X.

This commit is contained in:
Christopher Peplin 2012-04-03 12:09:42 -04:00
parent 83cbf35787
commit 69f171ff70

View file

@ -404,8 +404,8 @@ endif
CPPFLAGS = -$(MCU_FLAG_NAME)=$(MCU) -DF_CPU=$(F_CPU) -DARDUINO=$(ARDUINO_VERSION) \ CPPFLAGS = -$(MCU_FLAG_NAME)=$(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) -g -Os -w -Wall \ $(SYS_INCLUDES) -w -Wall -O2 \
-ffunction-sections -fdata-sections $(EXTRA_CPPFLAGS) -fno-exceptions -ffunction-sections -fdata-sections $(EXTRA_CPPFLAGS)
ifndef USE_GNU99 ifndef USE_GNU99
CFLAGS = -std=gnu99 CFLAGS = -std=gnu99