Blame sysinfo/compiler/cparser.mk

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