orbea / cross / slibtool

Forked from cross/slibtool 3 years ago
Clone

Blame sysinfo/compiler/gcc.mk

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