Blame sysinfo/compiler/clang.mk

7b83a9
ifeq ($(CROSS_COMPILE)x,x)
f97c34
	CROSS_HOST	=
7b83a9
	CROSS_HOST_SPEC =
975775
else ifeq ($(CROSS_HOST)x,x)
f97c34
	CROSS_HOST	= $(HOST)
7b83a9
	CROSS_HOST_SPEC = --target=$(HOST)
975775
else
975775
	CROSS_HOST_SPEC = --target=$(CROSS_HOST)
7b83a9
endif
7b83a9
7b83a9
2318d6
ifeq ($(USER_CC)x,x)
2318d6
	CC	= $(NATIVE_CC) $(CROSS_HOST_SPEC)
2318d6
else
2318d6
	CC	= $(USER_CC) $(CROSS_HOST_SPEC)
2318d6
endif
2318d6
2318d6
ifeq ($(USER_CPP)x,x)
2318d6
	CPP	= $(NATIVE_CC) $(CROSS_HOST_SPEC) -E
2318d6
else
2318d6
	CPP	= $(USER_CPP) $(CROSS_HOST_SPEC) -E
2318d6
endif
2318d6
2318d6
ifeq ($(USER_CXX)x,x)
2318d6
	CXX	= $(NATIVE_CC)++ $(CROSS_HOST_SPEC)
2318d6
else
2318d6
	CXX	= $(USER_CXX) $(CROSS_HOST_SPEC)
2318d6
endif
7b83a9
7b83a9
f97c34
CFLAGS_PIC	= -fPIC