Blame sysinfo/compiler/clang.mk

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