Blame sysinfo/compiler/cparser.mk

725fe4
ifeq ($(CROSS_COMPILE)x,x)
f08094
	CROSS_HOST	=
725fe4
	CROSS_HOST_SPEC =
725fe4
else
f08094
	CROSS_HOST	= $(HOST)
725fe4
	CROSS_HOST_SPEC = --target=$(HOST)
725fe4
endif
725fe4
725fe4
e1fef7
ifeq ($(USER_CC)x,x)
e1fef7
	CC	= $(NATIVE_CC) $(CROSS_HOST_SPEC) -Wno-experimental -integrated-cpp
e1fef7
else
e1fef7
	CC	= $(USER_CC) $(CROSS_HOST_SPEC) -Wno-experimental -integrated-cpp
e1fef7
endif
e1fef7
e1fef7
ifeq ($(USER_CPP)x,x)
e1fef7
	CPP	= $(NATIVE_CC) $(CROSS_HOST_SPEC) -Wno-experimental -integrated-cpp -E
e1fef7
else
e1fef7
	CPP	= $(USER_CPP) $(CROSS_HOST_SPEC) -Wno-experimental -integrated-cpp -E
e1fef7
endif
e1fef7
e1fef7
ifeq ($(USER_CXX)x,x)
e1fef7
	CXX	= $(NATIVE_CC) $(CROSS_HOST_SPEC) -Wno-experimental -integrated-cpp -std=c++
e1fef7
else
e1fef7
	CXX	= $(USER_CXX) $(CROSS_HOST_SPEC) -Wno-experimental -integrated-cpp -std=c++
e1fef7
endif
725fe4
725fe4
f08094
AS		= $(CROSS_COMPILE)as
f08094
AR		= $(CROSS_COMPILE)ar
f08094
LD		= $(CROSS_COMPILE)ld
f08094
NM		= $(CROSS_COMPILE)nm
f08094
OBJDUMP		= $(CROSS_COMPILE)objdump
f08094
RANLIB		= $(CROSS_COMPILE)ranlib
f08094
SIZE		= $(CROSS_COMPILE)size
f08094
STRIP		= $(CROSS_COMPILE)strip
f08094
STRINGS		= $(CROSS_COMPILE)strings
725fe4
725fe4
f08094
ADDR2LINE	= $(CROSS_COMPILE)addr2line
f08094
COV		= $(CROSS_COMPILE)gcov
f08094
CXXFILT		= $(CROSS_COMPILE)c++filt
f08094
ELFEDIT		= $(CROSS_COMPILE)elfedit
f08094
OBJCOPY		= $(CROSS_COMPILE)objcopy
f08094
READELF		= $(CROSS_COMPILE)readelf
725fe4
725fe4
f08094
CFLAGS_PIC	= -fPIC