Blame sysinfo/compiler/cparser.mk

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