Drop -fPIC -DPIC from rpm's forced gcc build flags

These things are up to distro/platform build policies, it's not as if
rpm actually required position independent code. And as it happens,
 doing the right thing renders PR #350 unnecessary.
This commit is contained in:
Panu Matilainen 2018-02-19 15:14:28 +02:00
parent 236d6f5a2b
commit d7dfd0dc0c
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ if test "$GCC" = yes; then
],[])
CFLAGS=$old_cflags
done
RPMCFLAGS="-fPIC -DPIC -D_REENTRANT -Wall -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes $RPMCFLAGS"
RPMCFLAGS="-D_REENTRANT -Wall -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes $RPMCFLAGS"
fi
AC_SUBST(RPMCFLAGS)