Blame sysinfo/compiler/clang.mk

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