From c8ed9ff65736b4faf872365a65c8d9532d31b475 Mon Sep 17 00:00:00 2001 From: Vitezslav Crhonek Date: Mon, 24 Jan 2022 09:57:06 +0100 Subject: [PATCH] Fix build flags --- tog-pegasus.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tog-pegasus.spec b/tog-pegasus.spec index 27a2512..81160cc 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 @@ -284,7 +284,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 @@ -564,6 +564,9 @@ fi %changelog +* Mon Jan 24 2022 Vitezslav Crhonek - 2.14.1-64 +- Fix build flags + * Sat Jan 22 2022 Fedora Release Engineering - 2:2.14.1-63 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild