Blame sysinfo/compiler/cparser.mk

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