Skip to content
Snippets Groups Projects
Commit 25ca5b18 authored by Firas Khalil Khana's avatar Firas Khalil Khana :wind_chime: Committed by Jakub Jirutka
Browse files

community/zlib-ng: WITH_UNALIGNED no longer exists

parent 73a46884
No related branches found
No related tags found
1 merge request!81846community/zlib-ng: WITH_UNALIGNED no longer exists
Pipeline #311698 skipped
......@@ -2,7 +2,7 @@
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=zlib-ng
pkgver=2.2.4
pkgrel=0
pkgrel=1
pkgdesc="zlib replacement with optimizations for next generation systems"
url="https://github.com/zlib-ng/zlib-ng"
arch="all"
......@@ -21,15 +21,12 @@ build() {
if [ "$CBUILD" != "$CHOST" ]; then
crossopts="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
# WITH_UNALIGNED - unaligned access invokes undefined behaviour,
# see https://github.com/gentoo/gentoo/pull/17167 for more info.
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DWITH_DFLTCC_DEFLATE=ON \
-DWITH_DFLTCC_INFLATE=ON \
-DWITH_UNALIGNED=OFF \
-DZLIB_ENABLE_TESTS="$(want_check && echo ON || echo OFF)" \
-DZLIBNG_ENABLE_TESTS="$(want_check && echo ON || echo OFF)" \
-DWITH_GTEST=OFF \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment