Blame sysinfo/compiler/any-compiler.mk

4b41f9
ifeq ($(CROSS_COMPILE)x,x)
4b41f9
	CROSS_HOST	=
4b41f9
	CROSS_HOST_SPEC =
4b41f9
else
4b41f9
	CROSS_HOST	=
4b41f9
	CROSS_HOST_SPEC =
4b41f9
endif
4b41f9
4b41f9
4b41f9
ifeq ($(USER_CC)x,x)
4b41f9
	CC	= $(NATIVE_CC) $(CROSS_HOST_SPEC)
4b41f9
else
4b41f9
	CC	= $(USER_CC) $(CROSS_HOST_SPEC)
4b41f9
endif
4b41f9
4b41f9
ifeq ($(USER_CPP)x,x)
4b41f9
	CPP	= $(NATIVE_CC) $(CROSS_HOST_SPEC) -E
4b41f9
else
4b41f9
	CPP	= $(USER_CPP) $(CROSS_HOST_SPEC) -E
4b41f9
endif
4b41f9
4b41f9
ifeq ($(USER_CXX)x,x)
4b41f9
	CXX	= $(NATIVE_CC) $(CROSS_HOST_SPEC) -std=c++
4b41f9
else
4b41f9
	CXX	= $(USER_CXX) $(CROSS_HOST_SPEC) -std=c++
4b41f9
endif
4b41f9
4b41f9
4b41f9
CFLAGS_PIC	= -fPIC