mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
zlib-ng, fix x86 build (#5939)
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user