Redfoxmoon / cross / slibtool

Forked from cross/slibtool 10 months ago
Clone

Blame sysinfo/compiler/any-compiler.mk

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