Blame sysinfo/compiler/cparser.mk

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