Blame sysinfo/compiler/cparser.mk

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