--- configure.ac.orig	2015-06-19 13:31:02.000000000 -0700
+++ configure.ac	2015-07-03 13:49:58.000000000 -0700
@@ -101,10 +101,6 @@
 
 AC_CHECK_FUNCS(clearenv fdatasync)
 
-if test "x$GCC" = "xyes"; then
-  LDFLAGS="-Wl,--as-needed $LDFLAGS"
-fi
-
 dnl ---------------------------------------------------------------------------
 dnl - Check whether setnetgrent has a return value
 dnl ---------------------------------------------------------------------------