summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/xmlsec1.spec5
1 files changed, 4 insertions, 1 deletions
diff --git a/packaging/xmlsec1.spec b/packaging/xmlsec1.spec
index ddfd833b..9289859e 100644
--- a/packaging/xmlsec1.spec
+++ b/packaging/xmlsec1.spec
@@ -79,7 +79,10 @@ cp %{SOURCE1001} .
--disable-apps-crypto-dl \
--without-gnutls
-%__make %{?_smp_mflags}
+%define cflags -fPIE
+%define ldflags -pie
+
+%__make %{?_smp_mflags} CFLAGS="%{cflags}" LDFLAGS="%{ldflags}"
%install
%make_install