1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
ifeq ($(USER_CC)x,x) ifeq ($(CROSS_COMPILE)x,x) CC = $(CROSS_COMPILE)$(NATIVE_CC) else CC = $(CROSS_COMPILE)gcc endif else CC = $(USER_CC) endif ifeq ($(USER_CPP)x,x) CPP = $(CROSS_COMPILE)cpp else CPP = $(USER_CPP) endif ifeq ($(USER_CXX)x,x) CXX = $(CROSS_COMPILE)c++ else CXX = $(USER_CXX) endif CFLAGS_PIC = -fPIC