Blame sysinfo/compiler/clang.mk

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