From f730a4bd4bfb79e15885131d9e73cf435cce0630 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 7 May 2019 05:25:27 -0400 Subject: [PATCH] import opendnssec-1.4.14-1.module+el8+2555+b334d87b --- SPECS/opendnssec.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SPECS/opendnssec.spec b/SPECS/opendnssec.spec index 46f5afa..1527df8 100644 --- a/SPECS/opendnssec.spec +++ b/SPECS/opendnssec.spec @@ -45,9 +45,9 @@ name server. It requires a PKCS#11 crypto module library, such as softhsm sed -i "s/1024/2048/" conf/kasp.xml.in %build -#export LDFLAGS="-Wl,-z,relro,-z,now -pie -specs=/usr/lib/rpm/redhat/redhat-hardened-ld" -#export CFLAGS="$RPM_OPT_FLAGS -fPIE -pie -Wextra -Wformat -Wformat-nonliteral -Wformat-security" -#export CXXFLAGS="$RPM_OPT_FLAGS -fPIE -pie -Wformat-nonliteral -Wformat-security" +export LDFLAGS="-Wl,-z,relro,-z,now -pie -specs=/usr/lib/rpm/redhat/redhat-hardened-ld" +export CFLAGS="$RPM_OPT_FLAGS -fPIE -pie -Wextra -Wformat -Wformat-nonliteral -Wformat-security" +export CXXFLAGS="$RPM_OPT_FLAGS -fPIE -pie -Wformat-nonliteral -Wformat-security" %configure --with-ldns=%{_libdir} make %{?_smp_mflags}