1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-25 01:05:10 +03:00

Nope. That's still wrong. I suck at this.

Reverted to original.
This commit is contained in:
gruvin@gmail.com 2012-08-23 04:46:58 +00:00
parent 328e322edf
commit c16af175aa

View file

@ -594,16 +594,13 @@ ARMCPPFLAGS = -c -mcpu=$(MCU) -mthumb -fomit-frame-pointer -fverbose-asm -Wa,-ah
AVRCPPFLAGS = -mmcu=$(MCU) -I. -x c++ $(CPPFLAGS) $(GENDEPFLAGS) -fwhole-program
ifneq ($(PCB), ARM)
GPPVERSIONGT421 := $(shell expr `g++ -dumpversion` \> 4.2.1)
ifeq ($(GPPVERSIONGT421),1)
CPPFLAGS += -fno-inline-small-functions
endif
GCCVERSIONGTE462 := $(shell expr 4.6.2 \<= `$(CC) -dumpversion`)
ifeq ($(GCCVERSIONGTE462),1)
CPPFLAGS += -flto
endif
CPPFLAGS += -fno-inline-small-functions
GCCVERSIONGTE470 := $(shell expr 4.7.0 \<= `$(CC) -dumpversion`)
ifeq ($(GCCVERSIONGTE470),1)
AVRCPPFLAGS += -mstrict-X