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:
parent
236d6f5a2b
commit
d7dfd0dc0c
|
@ -50,7 +50,7 @@ if test "$GCC" = yes; then
|
||||||
],[])
|
],[])
|
||||||
CFLAGS=$old_cflags
|
CFLAGS=$old_cflags
|
||||||
done
|
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
|
fi
|
||||||
AC_SUBST(RPMCFLAGS)
|
AC_SUBST(RPMCFLAGS)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue