From 7271d9d13d89f67a3db51d99c0dec937e5016698 Mon Sep 17 00:00:00 2001 From: Schrijvers Luc Date: Sat, 22 May 2021 11:02:54 +0200 Subject: [PATCH] zlib-ng, fix x86 build (#5939) --- sys-libs/zlib-ng/zlib_ng-2.0.3.recipe | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys-libs/zlib-ng/zlib_ng-2.0.3.recipe b/sys-libs/zlib-ng/zlib_ng-2.0.3.recipe index 40cab1d5e..721eba67d 100644 --- a/sys-libs/zlib-ng/zlib_ng-2.0.3.recipe +++ b/sys-libs/zlib-ng/zlib_ng-2.0.3.recipe @@ -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 \