Subversion Repositories freemyipod

Rev

Rev 884 | Rev 886 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 884 Rev 885
Line 4... Line 4...
4
ifeq ($(shell which $(CROSS)gcc),)
4
ifeq ($(shell which $(CROSS)gcc),)
5
CROSS   := arm-elf-eabi-
5
CROSS   := arm-elf-eabi-
6
endif
6
endif
7
 
7
 
8
FLTO    ?= -flto -flto-partition=none
8
FLTO    ?= -flto -flto-partition=none
9
ifneq ($(shell $(CROSS)gcc -flto 2>&1 | grep '-flto'),)
9
ifneq ($(shell $(CROSS)gcc -flto 2>&1 | grep -- -flto),)
10
FLTO    :=
10
FLTO    :=
11
endif
11
endif
12
 
12
 
13
CC      := $(CCACHE) $(CROSS)gcc
13
CC      := $(CCACHE) $(CROSS)gcc
14
LD      := $(CROSS)ld
14
LD      := $(CROSS)ld