Blame sysinfo/compiler/cparser.mk

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