lua: use $(BUILD_CC) variable

This commit is contained in:
Tony Theodore 2016-01-06 13:10:40 +11:00 committed by Boris Nagaev
parent fc13f478c6
commit d9401362c5
1 changed files with 1 additions and 0 deletions

View File

@ -76,6 +76,7 @@ endef
define $(PKG)_BUILD_$(BUILD)
$(MAKE) -C '$(1)/src' -j '$(JOBS)' \
CC='$(BUILD_CC)' \
PLAT=$(shell ([ `uname -s` == Darwin ] && echo "macosx") || echo `uname -s` | tr '[:upper:]' '[:lower:]')
$(INSTALL) '$(1)/src/lua' '$(PREFIX)/bin/$(BUILD)-lua'
ln -sf '$(PREFIX)/bin/$(BUILD)-lua' '$(PREFIX)/$(BUILD)/bin/lua'