orbea / zippy / sofort

Forked from zippy/sofort 2 years ago
Clone

Blame sysinfo/compiler/any-compiler.mk

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