From b9f2cd4030a1fced12839162b5e930f03f25e28a Mon Sep 17 00:00:00 2001 From: Vitezslav Crhonek Date: Tue, 1 Feb 2022 09:51:27 +0100 Subject: [PATCH] Fix build flags Resolves: #2044895 --- tog-pegasus.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tog-pegasus.spec b/tog-pegasus.spec index 2012271..8a2f20e 100644 --- a/tog-pegasus.spec +++ b/tog-pegasus.spec @@ -8,7 +8,7 @@ Name: tog-pegasus Version: %{major_ver}.1 -Release: 63%{?dist} +Release: 64%{?dist} Epoch: 2 Summary: OpenPegasus WBEM Services for Linux @@ -281,7 +281,7 @@ export PATH=$PEGASUS_HOME/bin:$PATH export PEGASUS_EXTRA_C_FLAGS="$RPM_OPT_FLAGS -fPIC -g -Wall -Wno-unused -fno-strict-aliasing" export PEGASUS_EXTRA_CXX_FLAGS="$PEGASUS_EXTRA_C_FLAGS -std=c++14" -export PEGASUS_EXTRA_LINK_FLAGS="$RPM_OPT_FLAGS" +export PEGASUS_EXTRA_LINK_FLAGS="$RPM_OPT_FLAGS -Wl,-z,now" export PEGASUS_EXTRA_PROGRAM_LINK_FLAGS="-g -pie -Wl,-z,relro,-z,now,-z,nodlopen,-z,noexecstack" export SYS_INCLUDES=-I/usr/kerberos/include @@ -561,6 +561,10 @@ fi %changelog +* Tue Feb 01 2022 Vitezslav Crhonek - 2.14.1-64 +- Fix build flags + Resolves: #2044895 + * Tue Aug 10 2021 Mohan Boddu - 2:2.14.1-63 - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags Related: rhbz#1991688