Commit mthomas changes to GCC and port those changes to IAR master
authorKevin Rosenberg <kevin@rosenberg.net>
Fri, 27 Jun 2008 01:07:06 +0000 (19:07 -0600)
committerKevin Rosenberg <kevin@rosenberg.net>
Fri, 27 Jun 2008 01:07:06 +0000 (19:07 -0600)
1  2 
BaseTinyFirmware/GCC/avr458/Makefile

index 844d3dbe9fff90082487d46fde6043fca7ed74e9,35214cde2aa126f83787a901843a1d7890cd0e8a..49c1c045c65cf043dbd699368a6db7221ceb14d9
@@@ -13,9 -13,9 +13,10 @@@ COMMON = -mmcu=$(MCU
  \r
  ## Compile options common for all C compilation units.\r
  CFLAGS = $(COMMON)\r
- CFLAGS += -gdwarf-2 -std=gnu99 -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums\r
+ CFLAGS += -gdwarf-2 -std=gnu99 -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -ffunction-sections\r
+ CFLAGS += -fno-inline-small-functions -fno-split-wide-types\r
  CFLAGS += -Wall -Wstrict-prototypes -Wundef -Wa,-adhlns=./$(*F).lst\r
 +CFLAGS += -fno-inline-small-functions -fno-split-wide-types\r
  CFLAGS += -MMD -MP -MF dep/$(@F).d  \r
  CFLAGS += -DLIION\r
  \r