Blame sysinfo/compiler/any-compiler.mk

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