zlib-ng, fix x86 build (#5939)

This commit is contained in:
Schrijvers Luc
2021-05-22 11:02:54 +02:00
committed by GitHub
parent 15546e15a6
commit 7271d9d13d

View File

@@ -3,7 +3,7 @@ DESCRIPTION="Zlib replacement with optimizations for next generation systems"
HOMEPAGE="https://github.com/zlib-ng/zlib-ng"
COPYRIGHT="1995-2013 Jean-loup Gailly and Mark Adler"
LICENSE="Zlib"
REVISION="1"
REVISION="2"
SOURCE_URI="https://github.com/zlib-ng/zlib-ng/archive/refs/tags/$portVersion.tar.gz"
CHECKSUM_SHA256="30305bd1551e3454bddf574f9863caf7137dde0fdbd4dcd7094eacfbb23955a0"
SOURCE_DIR="zlib-ng-$portVersion"
@@ -48,8 +48,10 @@ BUILD()
{
rm -rf build
cmake -B build -S . \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX:PATH=$prefix \
-DINC_INSTALL_DIR=$includeDir \
-DLIB_INSTALL_DIR=$libDir \
-DZLIB_ENABLE_TESTS=ON \
-DWITH_OPTIM=ON \
-DWITH_UNALIGNED=OFF \