Blame sysinfo/toolchain/clang.mk

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