Blame sysinfo/compiler/clang.mk

fa897a
ifeq ($(CROSS_COMPILE)x,x)
09d3a4
	CROSS_HOST	=
fa897a
	CROSS_HOST_SPEC =
80cca6
else ifeq ($(CROSS_HOST)x,x)
09d3a4
	CROSS_HOST	= $(HOST)
fa897a
	CROSS_HOST_SPEC = --target=$(HOST)
80cca6
else
80cca6
	CROSS_HOST_SPEC = --target=$(CROSS_HOST)
fa897a
endif
fa897a
fa897a
2e94f1
ifeq ($(USER_CC)x,x)
2e94f1
	CC	= $(NATIVE_CC) $(CROSS_HOST_SPEC)
2e94f1
else
2e94f1
	CC	= $(USER_CC) $(CROSS_HOST_SPEC)
2e94f1
endif
2e94f1
2e94f1
ifeq ($(USER_CPP)x,x)
2e94f1
	CPP	= $(NATIVE_CC) $(CROSS_HOST_SPEC) -E
2e94f1
else
2e94f1
	CPP	= $(USER_CPP) $(CROSS_HOST_SPEC) -E
2e94f1
endif
2e94f1
2e94f1
ifeq ($(USER_CXX)x,x)
2e94f1
	CXX	= $(NATIVE_CC)++ $(CROSS_HOST_SPEC)
2e94f1
else
2e94f1
	CXX	= $(USER_CXX) $(CROSS_HOST_SPEC)
2e94f1
endif
fa897a
fa897a
09d3a4
CFLAGS_PIC	= -fPIC