From: Kevin Rosenberg Date: Fri, 27 Jun 2008 01:07:06 +0000 (-0600) Subject: Commit mthomas changes to GCC and port those changes to IAR X-Git-Url: http://git.kpe.io/?p=avr_bc100.git;a=commitdiff_plain;h=93e97b1db3d777e5c7536c997046c86f2f3a62f6 Commit mthomas changes to GCC and port those changes to IAR --- 93e97b1db3d777e5c7536c997046c86f2f3a62f6 diff --cc BaseTinyFirmware/GCC/avr458/Makefile index 844d3db,35214cd..49c1c04 --- a/BaseTinyFirmware/GCC/avr458/Makefile +++ b/BaseTinyFirmware/GCC/avr458/Makefile @@@ -13,9 -13,9 +13,10 @@@ COMMON = -mmcu=$(MCU ## Compile options common for all C compilation units. CFLAGS = $(COMMON) - CFLAGS += -gdwarf-2 -std=gnu99 -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums + CFLAGS += -gdwarf-2 -std=gnu99 -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -ffunction-sections + CFLAGS += -fno-inline-small-functions -fno-split-wide-types CFLAGS += -Wall -Wstrict-prototypes -Wundef -Wa,-adhlns=./$(*F).lst +CFLAGS += -fno-inline-small-functions -fno-split-wide-types CFLAGS += -MMD -MP -MF dep/$(@F).d CFLAGS += -DLIION