Blame sysinfo/compiler/clang.mk

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