From 6ae7ce507f45786aa5ef6725b11897406457803f Mon Sep 17 00:00:00 2001 From: Jindrich Novy Date: Wed, 9 Feb 2022 08:55:02 +0100 Subject: [PATCH] podman-4.0.0-0.26.el9 - set CGO_CFLAGS explicitly - Related: #2000051 Signed-off-by: Jindrich Novy --- podman.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/podman.spec b/podman.spec index e862144..9f802c7 100644 --- a/podman.spec +++ b/podman.spec @@ -25,7 +25,7 @@ GO111MODULE=off go build -buildmode pie -compiler gc -tags="rpm_crashtraceback $ Epoch: 2 Name: podman Version: 4.0.0 -Release: 0.25%{?dist} +Release: 0.26%{?dist} Summary: Manage Pods, Containers and Container Images License: ASL 2.0 and GPLv3+ URL: https://%{name}.io/ @@ -193,7 +193,7 @@ rm -rf docs/source/markdown/containers-mounts.conf.5.md %build export GO111MODULE=off export GOPATH=$(pwd)/_build:$(pwd) -export CGO_CFLAGS=$CFLAGS +CGO_CFLAGS="%{optflags} -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" # These extra flags present in $CFLAGS have been skipped for now as they break the build CGO_CFLAGS=$(echo $CGO_CFLAGS | sed 's/-flto=auto//g') CGO_CFLAGS=$(echo $CGO_CFLAGS | sed 's/-Wp,D_GLIBCXX_ASSERTIONS//g') @@ -413,6 +413,10 @@ exit 0 %{_libexecdir}/%{name}/gvproxy %changelog +* Wed Feb 09 2022 Jindrich Novy - 2:4.0.0-0.26 +- set CGO_CFLAGS explicitly +- Related: #2000051 + * Tue Feb 08 2022 Jindrich Novy - 2:4.0.0-0.25 - bump to 0.25 to have highest NVR - Related: #2000051