Blame sysinfo/compiler/clang.mk

cde03b
ifeq ($(CROSS_COMPILE)x,x)
cde03b
	CROSS_HOST	=
cde03b
	CROSS_HOST_SPEC =
fe53cf
else ifeq ($(CROSS_HOST)x,x)
cde03b
	CROSS_HOST	= $(HOST)
cde03b
	CROSS_HOST_SPEC = --target=$(HOST)
fe53cf
else
fe53cf
	CROSS_HOST_SPEC = --target=$(CROSS_HOST)
cde03b
endif
cde03b
cde03b
cde03b
ifeq ($(USER_CC)x,x)
cde03b
	CC	= $(NATIVE_CC) $(CROSS_HOST_SPEC)
cde03b
else
cde03b
	CC	= $(USER_CC) $(CROSS_HOST_SPEC)
cde03b
endif
cde03b
cde03b
ifeq ($(USER_CPP)x,x)
cde03b
	CPP	= $(NATIVE_CC) $(CROSS_HOST_SPEC) -E
cde03b
else
cde03b
	CPP	= $(USER_CPP) $(CROSS_HOST_SPEC) -E
cde03b
endif
cde03b
cde03b
ifeq ($(USER_CXX)x,x)
cde03b
	CXX	= $(NATIVE_CC)++ $(CROSS_HOST_SPEC)
cde03b
else
cde03b
	CXX	= $(USER_CXX) $(CROSS_HOST_SPEC)
cde03b
endif
cde03b
cde03b
cde03b
CFLAGS_PIC	= -fPIC