Blame SOURCES/autofs-5.0.7-configure-allow-cross-compilation-update.patch

306fa1
autofs-5.0.7 - configure: allow cross compilation update
306fa1
306fa1
From: Chris Packham <chris.packham@alliedtelesis.co.nz>
306fa1
306fa1
Run "make distclean" to update configure. This should have been included
306fa1
in 5936c738 when configure.in was updated but it was missed.
306fa1
---
306fa1
306fa1
 configure |    5 +----
306fa1
 1 files changed, 1 insertions(+), 4 deletions(-)
306fa1
306fa1
306fa1
diff --git a/configure b/configure
306fa1
index bf62203..ba3bba6 100755
306fa1
--- a/configure
306fa1
+++ b/configure
306fa1
@@ -5378,10 +5378,7 @@ DAEMON_LDFLAGS=
306fa1
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc -fPIE works" >&5
306fa1
 $as_echo_n "checking whether gcc -fPIE works... " >&6; }
306fa1
 if test "$cross_compiling" = yes; then :
306fa1
-  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
306fa1
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
306fa1
-as_fn_error $? "cannot run test program while cross compiling
306fa1
-See \`config.log' for more details" "$LINENO" 5; }
306fa1
+  gcc_supports_pie=no
306fa1
 else
306fa1
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
306fa1
 /* end confdefs.h.  */