Blame sysinfo/compiler/clang.mk

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