Blame sysinfo/compiler/cparser.mk

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