From 5b5f008e39b24e69a0007222cabe64026b596e9f Mon Sep 17 00:00:00 2001 From: Jindrich Novy Date: Wed, 11 Dec 2024 08:51:56 +0100 Subject: [PATCH] crun-1.19-2.el9 - Add missing CFLAGS and LDFLAGS for annocheck/hardening - Related: RHEL-60277 Signed-off-by: Jindrich Novy --- crun.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/crun.spec b/crun.spec index e5181b8..7d56c2a 100644 --- a/crun.spec +++ b/crun.spec @@ -43,7 +43,7 @@ Epoch: 102 # copr and koji builds. # If you're reading this on dist-git, the version is automatically filled in by Packit. Version: 1.19 -Release: 1%{?dist} +Release: 2%{?dist} URL: https://github.com/containers/%{name} Source0: %{url}/releases/download/%{version}/%{name}-%{version}.tar.zst License: GPL-2.0-only @@ -113,6 +113,8 @@ Recommends: wasmedge %autosetup -Sgit -n %{name}-%{version} %build +export CFLAGS="%{optflags} -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" +export LDFLAGS="%{build_ldflags}" ./autogen.sh ./configure --disable-silent-rules %{krun_opts} %{wasmedge_opts} %{yajl_opts} %make_build @@ -140,6 +142,10 @@ rm -rf %{buildroot}%{_prefix}/lib* %endif %changelog +* Wed Dec 11 2024 Jindrich Novy - 1.19-2 +- Add missing CFLAGS and LDFLAGS for annocheck/hardening +- Related: RHEL-60277 + * Mon Dec 09 2024 Jindrich Novy - 1.19-1 - update to https://github.com/containers/crun/releases/tag/1.19 - Related: RHEL-60277