orbea / zippy / sofort

Forked from zippy/sofort 2 years ago
Clone

Blame sysinfo/toolchain/gcc.mk

f46039
ifeq ($(USER_CC)x,x)
f46039
	ifeq ($(CROSS_COMPILE)x,x)
f46039
		CC = $(CROSS_COMPILE)$(NATIVE_CC)
f46039
	else
f46039
		CC = $(CROSS_COMPILE)gcc
f46039
	endif
f46039
else
f46039
	CC	= $(USER_CC)
f46039
endif
f46039
f46039
ifeq ($(USER_CPP)x,x)
f46039
	CPP	= $(CROSS_COMPILE)cpp
f46039
else
f46039
	CPP	= $(USER_CPP)
f46039
endif
f46039
f46039
ifeq ($(USER_CXX)x,x)
f46039
	CXX	= $(CROSS_COMPILE)c++
f46039
else
f46039
	CXX	= $(USER_CXX)
f46039
endif
f46039
f46039
f46039
AS 		= $(CROSS_COMPILE)as
f46039
AR 		= $(CROSS_COMPILE)ar
f46039
LD 		= $(CROSS_COMPILE)ld
f46039
NM 		= $(CROSS_COMPILE)nm
f46039
OBJDUMP 	= $(CROSS_COMPILE)objdump
f46039
RANLIB 		= $(CROSS_COMPILE)ranlib
f46039
SIZE 		= $(CROSS_COMPILE)size
f46039
STRIP 		= $(CROSS_COMPILE)strip
f46039
STRINGS 	= $(CROSS_COMPILE)strings
f46039
f46039
f46039
ADDR2LINE 	= $(CROSS_COMPILE)addr2line
f46039
COV 		= $(CROSS_COMPILE)gcov
f46039
CXXFILT 	= $(CROSS_COMPILE)c++filt
f46039
ELFEDIT 	= $(CROSS_COMPILE)elfedit
f46039
OBJCOPY 	= $(CROSS_COMPILE)objcopy
f46039
READELF 	= $(CROSS_COMPILE)readelf
f46039
f46039
f46039
CFLAGS_PIC 	= -fPIC