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

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