[PATCH 4/7] drop -fPIC usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We don't create any libraries so there's no need to build with -fPIC.
Drop it all.

Signed-off-by: Mike Frysinger <vapier@xxxxxxxxxx>
---
 configure.ac | 12 ------------
 1 file changed, 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 
-- 
1.7.12

--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux File System Development]     [Linux BTRFS]     [Linux NFS]     [Linux Filesystems]     [Ext4 Filesystem]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Resources]

  Powered by Linux