Blame sysinfo/compiler/clang.mk

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