From d7dfd0dc0c6ad7fc067a1d0e292a74e134b0720c Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Mon, 19 Feb 2018 15:14:28 +0200 Subject: [PATCH] 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. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 5259ad243..c87547e30 100644 --- a/configure.ac +++ b/configure.ac @@ -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)