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:
parent
328e322edf
commit
c16af175aa
1 changed files with 2 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue