Blame sysinfo/toolchain/clang.mk

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