diff options
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/xmlsec1.spec | 5 |
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 |