Blame sysinfo/compiler/clang.mk

18eb48
ifeq ($(CROSS_COMPILE)x,x)
f08094
	CROSS_HOST	=
18eb48
	CROSS_HOST_SPEC =
1c1bf2
else ifeq ($(CROSS_HOST)x,x)
f08094
	CROSS_HOST	= $(HOST)
18eb48
	CROSS_HOST_SPEC = --target=$(HOST)
1c1bf2
else
1c1bf2
	CROSS_HOST_SPEC = --target=$(CROSS_HOST)
18eb48
endif
18eb48
18eb48
e1fef7
ifeq ($(USER_CC)x,x)
e1fef7
	CC	= $(NATIVE_CC) $(CROSS_HOST_SPEC)
e1fef7
else
e1fef7
	CC	= $(USER_CC) $(CROSS_HOST_SPEC)
e1fef7
endif
e1fef7
e1fef7
ifeq ($(USER_CPP)x,x)
e1fef7
	CPP	= $(NATIVE_CC) $(CROSS_HOST_SPEC) -E
e1fef7
else
e1fef7
	CPP	= $(USER_CPP) $(CROSS_HOST_SPEC) -E
e1fef7
endif
e1fef7
e1fef7
ifeq ($(USER_CXX)x,x)
e1fef7
	CXX	= $(NATIVE_CC)++ $(CROSS_HOST_SPEC)
e1fef7
else
e1fef7
	CXX	= $(USER_CXX) $(CROSS_HOST_SPEC)
e1fef7
endif
18eb48
18eb48
f08094
CFLAGS_PIC	= -fPIC