diff options
-rw-r--r-- | packaging/tar.spec | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packaging/tar.spec b/packaging/tar.spec index 812ceec..85aef81 100644 --- a/packaging/tar.spec +++ b/packaging/tar.spec @@ -37,9 +37,13 @@ cp %{SOURCE1001} . # gl_cv_func_linkat_follow="yes" \ # --disable-silent-rules \ # --disable-nls + +CFLAGS+=" -fPIE" +LDFLAGS+=" -pie" + %configure --disable-static \ --disable-nls -make %{?_smp_mflags} CFLAGS=" -fPIE" LDFLAGS=" -pie" +make %{?_smp_mflags} %check %if %{run_tests} |