Make sure we're cross-compiling zlib.

This commit is contained in:
samuela 2020-01-08 20:43:46 +00:00
parent 237dc42544
commit 729773dbb9

View File

@ -12,7 +12,8 @@ function recipe_update {
}
function recipe_build {
./configure --static --prefix=/
# See https://stackoverflow.com/questions/21396988/zlib-build-not-configuring-properly-with-cross-compiler-ignores-ar.
CHOST=x86_64-unknown-redox ./configure --static --prefix=/
make -j"$(nproc)"
skip=1
}