diff --git a/bzip2.spec b/bzip2.spec index 00e7760..ae37f27 100644 --- a/bzip2.spec +++ b/bzip2.spec @@ -109,6 +109,7 @@ mv .libs/*.gcda .libs.save/ make clean mv .libs.save .libs export CFLAGS="$RPM_OPT_FLAGS %{cflags_profile_feedback}" +export CFLAGS="$CFLAGS -fPIE" %configure --with-pic --disable-static %endif make %{?_smp_mflags} LDFLAGS="-pie"