Skip to content

Commit

Permalink
Remove inline-call-cost flag not available in gcc 4.5
Browse files Browse the repository at this point in the history
  • Loading branch information
zeldin committed Jul 28, 2012
1 parent 410e29d commit f783146
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions update-bootloader/Makefile
Expand Up @@ -2,9 +2,7 @@ include ../bootloader/Makefile.common
LDFLAGS += -Wl,$(COMMON_SECTIONS)

DEFINES += -DF_CPU=12000000
# "--param inline-call-cost=3" is used to overdrive some unwanted behaviour with
# GCC-4.2, -4.3 and -4.4, where even twice or more called functions get inlined
COMPILE = avr-gcc -Wall -O2 --param inline-call-cost=3 -Iusbdrv -I. -mmcu=atmega8 $(DEFINES) -I../include/
COMPILE = avr-gcc -Wall -O2 -Iusbdrv -I. -mmcu=atmega8 $(DEFINES) -I../include/

OBJECTS = flasher.o spm.o firmwaretable.o

Expand Down

0 comments on commit f783146

Please sign in to comment.