Blame sysinfo/compiler/cparser.mk

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