Blame sysinfo/compiler/clang.mk

52d60d
ifeq ($(CROSS_COMPILE)x,x)
220bb3
	CROSS_HOST	=
52d60d
	CROSS_HOST_SPEC =
5d406f
else ifeq ($(CROSS_HOST)x,x)
220bb3
	CROSS_HOST	= $(HOST)
52d60d
	CROSS_HOST_SPEC = --target=$(HOST)
5d406f
else
5d406f
	CROSS_HOST_SPEC = --target=$(CROSS_HOST)
52d60d
endif
52d60d
52d60d
52d60d
ifeq ($(USER_CC)x,x)
52d60d
	CC	= $(NATIVE_CC) $(CROSS_HOST_SPEC)
52d60d
else
52d60d
	CC	= $(USER_CC) $(CROSS_HOST_SPEC)
52d60d
endif
52d60d
52d60d
ifeq ($(USER_CPP)x,x)
52d60d
	CPP	= $(NATIVE_CC) $(CROSS_HOST_SPEC) -E
52d60d
else
52d60d
	CPP	= $(USER_CPP) $(CROSS_HOST_SPEC) -E
52d60d
endif
52d60d
52d60d
ifeq ($(USER_CXX)x,x)
52d60d
	CXX	= $(NATIVE_CC)++ $(CROSS_HOST_SPEC)
52d60d
else
52d60d
	CXX	= $(USER_CXX) $(CROSS_HOST_SPEC)
52d60d
endif
52d60d
52d60d
220bb3
CFLAGS_PIC	= -fPIC