Blame sysinfo/toolchain/gcc.mk

2e94f1
ifeq ($(USER_CC)x,x)
26bab9
	ifeq ($(CROSS_COMPILE)x,x)
26bab9
		CC = $(CROSS_COMPILE)$(NATIVE_CC)
26bab9
	else
26bab9
		CC = $(CROSS_COMPILE)gcc
26bab9
	endif
2e94f1
else
2e94f1
	CC	= $(USER_CC)
2e94f1
endif
2e94f1
2e94f1
ifeq ($(USER_CPP)x,x)
2e94f1
	CPP	= $(CROSS_COMPILE)cpp
2e94f1
else
2e94f1
	CPP	= $(USER_CPP)
2e94f1
endif
2e94f1
2e94f1
ifeq ($(USER_CXX)x,x)
2e94f1
	CXX	= $(CROSS_COMPILE)c++
2e94f1
else
2e94f1
	CXX	= $(USER_CXX)
2e94f1
endif
fa897a
fa897a
fa897a
AS 		= $(CROSS_COMPILE)as
fa897a
AR 		= $(CROSS_COMPILE)ar
fa897a
LD 		= $(CROSS_COMPILE)ld
fa897a
NM 		= $(CROSS_COMPILE)nm
fa897a
OBJDUMP 	= $(CROSS_COMPILE)objdump
fa897a
RANLIB 		= $(CROSS_COMPILE)ranlib
fa897a
SIZE 		= $(CROSS_COMPILE)size
fa897a
STRIP 		= $(CROSS_COMPILE)strip
fa897a
STRINGS 	= $(CROSS_COMPILE)strings
fa897a
fa897a
fa897a
ADDR2LINE 	= $(CROSS_COMPILE)addr2line
fa897a
COV 		= $(CROSS_COMPILE)gcov
fa897a
CXXFILT 	= $(CROSS_COMPILE)c++filt
fa897a
ELFEDIT 	= $(CROSS_COMPILE)elfedit
fa897a
OBJCOPY 	= $(CROSS_COMPILE)objcopy
fa897a
READELF 	= $(CROSS_COMPILE)readelf
fa897a
fa897a
fa897a
CFLAGS_PIC 	= -fPIC