My Makefile logic last commit was wrong. Now fixed.
"When I grow up, I'm gonna be a _real_ programmer! :P"
This commit is contained in:
+2
-2
@@ -594,8 +594,8 @@ ARMCPPFLAGS = -c -mcpu=$(MCU) -mthumb -fomit-frame-pointer -fverbose-asm -Wa,-ah
|
|||||||
AVRCPPFLAGS = -mmcu=$(MCU) -I. -x c++ $(CPPFLAGS) $(GENDEPFLAGS) -fwhole-program
|
AVRCPPFLAGS = -mmcu=$(MCU) -I. -x c++ $(CPPFLAGS) $(GENDEPFLAGS) -fwhole-program
|
||||||
|
|
||||||
ifneq ($(PCB), ARM)
|
ifneq ($(PCB), ARM)
|
||||||
GCCVERSIONGTE421 := $(shell expr 4.2.1 \>= `$(CC) -dumpversion`)
|
GPPVERSIONGT421 := $(shell expr `g++ -dumpversion` \> 4.2.1)
|
||||||
ifeq ($(GCCVERSIONGTE421),1)
|
ifeq ($(GPPVERSIONGT421),1)
|
||||||
CPPFLAGS += -fno-inline-small-functions
|
CPPFLAGS += -fno-inline-small-functions
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user