summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/libxslt.spec2
1 files changed, 2 insertions, 0 deletions
diff --git a/packaging/libxslt.spec b/packaging/libxslt.spec
index 00a0958b..b9ea7233 100644
--- a/packaging/libxslt.spec
+++ b/packaging/libxslt.spec
@@ -62,6 +62,8 @@ This package contains xsltproc, a command line interface to the XSLT engine.
cp %{SOURCE1001} .
%build
+CFLAGS+=" -fPIC"
+LDFLAGS+=" -pie"
autoreconf -v --install --force
%configure --disable-static --with-pic --without-python
%__make %{?_smp_mflags}