summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/kmod.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/kmod.spec b/packaging/kmod.spec
index 0e78cb4..6b57cae 100644
--- a/packaging/kmod.spec
+++ b/packaging/kmod.spec
@@ -77,7 +77,7 @@ cp %{SOURCE1001} .
--includedir=%{_includedir}/%{name}-%{version} \
--with-rootlibdir=%{_libdir} \
--bindir=%{_bindir}
-%__make %{?_smp_mflags}
+%__make %{?_smp_mflags} CFLAGS+="-fPIE" LDFLAGS+="-pie"
%check
%__make check