Blame sysinfo/compiler/cparser.mk

383aa6
ifeq ($(CROSS_COMPILE)x,x)
383aa6
	CROSS_HOST	=
383aa6
	CROSS_HOST_SPEC =
598d57
else ifeq ($(CROSS_HOST)x,x)
383aa6
	CROSS_HOST	= $(HOST)
383aa6
	CROSS_HOST_SPEC = --target=$(HOST)
598d57
else
598d57
	CROSS_HOST_SPEC = --target=$(CROSS_HOST)
383aa6
endif
383aa6
383aa6
383aa6
ifeq ($(USER_CC)x,x)
383aa6
	CC	= $(NATIVE_CC) $(CROSS_HOST_SPEC) -Wno-experimental -integrated-cpp
383aa6
else
383aa6
	CC	= $(USER_CC) $(CROSS_HOST_SPEC) -Wno-experimental -integrated-cpp
383aa6
endif
383aa6
383aa6
ifeq ($(USER_CPP)x,x)
383aa6
	CPP	= $(NATIVE_CC) $(CROSS_HOST_SPEC) -Wno-experimental -integrated-cpp -E
383aa6
else
383aa6
	CPP	= $(USER_CPP) $(CROSS_HOST_SPEC) -Wno-experimental -integrated-cpp -E
383aa6
endif
383aa6
383aa6
ifeq ($(USER_CXX)x,x)
383aa6
	CXX	= $(NATIVE_CC) $(CROSS_HOST_SPEC) -Wno-experimental -integrated-cpp -std=c++
383aa6
else
383aa6
	CXX	= $(USER_CXX) $(CROSS_HOST_SPEC) -Wno-experimental -integrated-cpp -std=c++
383aa6
endif
383aa6
383aa6
383aa6
CFLAGS_PIC	= -fPIC