aboutsummaryrefslogtreecommitdiff
path: root/scripts/zlib.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/zlib.sh')
-rw-r--r--scripts/zlib.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/zlib.sh b/scripts/zlib.sh
index 070076f..2215fd1 100644
--- a/scripts/zlib.sh
+++ b/scripts/zlib.sh
@@ -9,11 +9,13 @@ if ! [ -d "$BUILD_DIR" ] ; then
tar xfzv ${dist_dir}/$APP_NAME-$VERSION.tar.gz
fi
cd "$BUILD_DIR"
-export CC=musl-gcc
+export CC="gcc"
export CFLAGS="-static"
export DESTDIR="$prefix"
export LDFLAGS="-static"
-./configure --prefix=/usr --static
+./configure \
+ --prefix=/usr \
+ --static
make -j$(numproc)
make install