зеркало из https://github.com/mozilla/pjs.git
Only reset compiler variables for INTERNAL_TOOLS if CROSS_COMPILE is set.
This commit is contained in:
Родитель
29a6190951
Коммит
9366808793
|
@ -78,11 +78,14 @@ include $(topsrcdir)/config/config.mk
|
|||
endif
|
||||
|
||||
ifdef INTERNAL_TOOLS
|
||||
ifdef CROSS_COMPILE
|
||||
CC=$(HOST_CC)
|
||||
CXX=$(HOST_CXX)
|
||||
CFLAGS=$(HOST_CFLAGS) -I$(DIST)/include $(NSPR_CFLAGS)
|
||||
CXXFLAGS=$(HOST_CXXFLAGS) -I$(DIST)/include $(NSPR_CFLAGS)
|
||||
RANLIB=$(HOST_RANLIB)
|
||||
AR=$(HOST_AR)
|
||||
endif
|
||||
endif
|
||||
|
||||
#
|
||||
|
|
Загрузка…
Ссылка в новой задаче