Skip to content
Snippets Groups Projects

Make sure we're cross-compiling zlib

Merged samuela requested to merge samuela/cookbook:samuela-master-patch-85258 into master
1 file
+ 2
1
Compare changes
  • Side-by-side
  • Inline
+ 2
1
@@ -12,7 +12,8 @@ function recipe_update {
@@ -12,7 +12,8 @@ function recipe_update {
}
}
function recipe_build {
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)"
make -j"$(nproc)"
skip=1
skip=1
}
}
Loading