orbea / cross / slibtool

Forked from cross/slibtool 3 years ago
Clone

Blame sysinfo/compiler/cparser.mk

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