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
d40d13
CC 		= clang $(CROSS_HOST_SPEC)
d40d13
CPP 		= clang $(CROSS_HOST_SPEC)
d40d13
CXX 		= clang++ $(CROSS_HOST_SPEC)
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