Blame sysinfo/compiler/clang.mk

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