Blame sysinfo/toolchain/clang.mk

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