Enable DFLTCC on s390x

Resolves: RHEL-135504
This commit is contained in:
Lukas Javorsky 2026-01-05 13:10:39 +00:00
parent 32f78d6e94
commit 05d1e19340

View File

@ -19,7 +19,7 @@
Name: zlib-ng
Version: 2.2.3
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Zlib replacement with optimizations
License: Zlib
Url: https://github.com/zlib-ng/zlib-ng
@ -102,6 +102,11 @@ _EOF_
# Setting __cmake_builddir is not necessary in this step, but do it anyway for symmetry.
%global __cmake_builddir %{_vpath_builddir}
%ifarch s390x
%global cmake_param %cmake_param -DWITH_DFLTCC_DEFLATE=ON -DWITH_DFLTCC_INFLATE=ON
%endif
%cmake %{cmake_param}
%cmake_build
@ -213,6 +218,10 @@ CHOST=%{target_cpu}-%{vendor}-linux-gnu sh test/abicheck.sh --zlib-compat
%changelog
* Mon Jan 13 2025 Lukas Javorsky <ljavorsk@redhat.com> - 2.2.3-1
- Enable DFLTCC on s390x
- Resolves: RHEL-135504
* Sat Apr 19 2025 Andrea Bolognani <abologna@redhat.com> - 2.2.3-2
- Disable RVV usage on riscv64 (thanks David Abdurachmanov)
Resolves: RHEL-87865