luajit ocaml-core: use BUILD_CC variable

This commit is contained in:
Tony Theodore 2015-09-30 14:39:08 +10:00
parent 17e27a4cb8
commit ad20853b2d
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ $(PKG)_DEPS := gcc dlfcn-win32
define $(PKG)_BUILD
$(MAKE) -C '$(1)' -j '$(JOBS)' \
HOST_CC='gcc -m$(BITS)' CROSS='$(TARGET)-' \
HOST_CC='$(BUILD_CC) -m$(BITS)' CROSS='$(TARGET)-' \
TARGET_SYS=Windows BUILDMODE=static \
PREFIX='$(PREFIX)/$(TARGET)' \
FILE_T=luajit.exe \

View File

@ -30,7 +30,7 @@ define $(PKG)_BUILD
-bindir '$(PREFIX)/$(TARGET)/bin' \
-libdir '$(PREFIX)/$(TARGET)/lib/ocaml' \
-no-tk \
-cc "gcc -m32" \
-cc "$(BUILD_CC) -m32" \
-no-shared-libs \
-host '$(TARGET)' \
-x11lib /usr/lib \