Blame sysinfo/compiler/clang.mk

d40d13
ifeq ($(CROSS_COMPILE)x,x)
03eeb0
	CROSS_HOST	=
d40d13
	CROSS_HOST_SPEC =
c6e141
else ifeq ($(CROSS_HOST)x,x)
03eeb0
	CROSS_HOST	= $(HOST)
d40d13
	CROSS_HOST_SPEC = --target=$(HOST)
c6e141
else
c6e141
	CROSS_HOST_SPEC = --target=$(CROSS_HOST)
d40d13
endif
d40d13
d40d13
7f572b
ifeq ($(USER_CC)x,x)
7f572b
	CC	= $(NATIVE_CC) $(CROSS_HOST_SPEC)
7f572b
else
7f572b
	CC	= $(USER_CC) $(CROSS_HOST_SPEC)
7f572b
endif
7f572b
7f572b
ifeq ($(USER_CPP)x,x)
7f572b
	CPP	= $(NATIVE_CC) $(CROSS_HOST_SPEC) -E
7f572b
else
7f572b
	CPP	= $(USER_CPP) $(CROSS_HOST_SPEC) -E
7f572b
endif
7f572b
7f572b
ifeq ($(USER_CXX)x,x)
7f572b
	CXX	= $(NATIVE_CC)++ $(CROSS_HOST_SPEC)
7f572b
else
7f572b
	CXX	= $(USER_CXX) $(CROSS_HOST_SPEC)
7f572b
endif
d40d13
d40d13
03eeb0
CFLAGS_PIC	= -fPIC