aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-10-19 01:49:09 -0400
committerJeff Mahoney <jeffm@suse.com>2012-10-30 17:51:21 -0400
commit2537d91514fb1750d751a8e99170dcde153252e4 (patch)
treed7bb3eaba8272f7cc58e4205eedffcc0ae2dae92
parent0a4186212d562d60625f6a179f32ca84c28125e4 (diff)
downloadreiserfsprogs-2537d91514fb1750d751a8e99170dcde153252e4.tar.gz
drop -fPIC usage
We don't create any libraries so there's no need to build with -fPIC. Drop it all. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Jeff Mahoney <jeffm@suse.com>
-rw-r--r--configure.ac12
1 files changed, 0 insertions, 12 deletions
diff --git a/configure.ac b/configure.ac
index 3822163..50e42f3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -50,14 +50,6 @@ AC_ARG_ENABLE(debug, [ --enable-debug enable extra checks],
enable_debug=no
)
-dnl Check for the compiler pic option.
-AC_CACHE_CHECK([whether -fPIC works], [pic], [
- saved_CPPFLAGS="$CPPFLAGS"
- CPPFLAGS="-fPIC -DPIC"
- AC_TRY_COMPILE(, , [pic=yes], [pic=no])
- CPPFLAGS="$saved_CPPFLAGS"
-])
-
# Checking for compiler warning options
AC_CACHE_CHECK([whether -Wuninitialized works], [uninitialized], [
saved_CPPFLAGS="$CPPFLAGS"
@@ -149,10 +141,6 @@ else
fi
fi
-if test x$pic = xyes; then
- CFLAGS="$CFLAGS -fPIC -DPIC"
-fi
-
AC_OUTPUT(
include/Makefile
mkreiserfs/Makefile