summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons/autofs/autofs-5.0.7/autofs-5.0.7-configure-allow-cross-compilation-update.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-daemons/autofs/autofs-5.0.7/autofs-5.0.7-configure-allow-cross-compilation-update.patch')
-rw-r--r--meta-networking/recipes-daemons/autofs/autofs-5.0.7/autofs-5.0.7-configure-allow-cross-compilation-update.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-networking/recipes-daemons/autofs/autofs-5.0.7/autofs-5.0.7-configure-allow-cross-compilation-update.patch b/meta-networking/recipes-daemons/autofs/autofs-5.0.7/autofs-5.0.7-configure-allow-cross-compilation-update.patch
new file mode 100644
index 0000000000..a8bc3ce857
--- /dev/null
+++ b/meta-networking/recipes-daemons/autofs/autofs-5.0.7/autofs-5.0.7-configure-allow-cross-compilation-update.patch
@@ -0,0 +1,28 @@
1autofs-5.0.7 - configure: allow cross compilation update
2
3From: Chris Packham <chris.packham@alliedtelesis.co.nz>
4
5Run "make distclean" to update configure. This should have been included
6in 5936c738 when configure.in was updated but it was missed.
7---
8
9 configure | 5 +----
10 1 files changed, 1 insertions(+), 4 deletions(-)
11
12
13diff --git a/configure b/configure
14index bf62203..ba3bba6 100755
15--- a/configure
16+++ b/configure
17@@ -5378,10 +5378,7 @@ DAEMON_LDFLAGS=
18 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc -fPIE works" >&5
19 $as_echo_n "checking whether gcc -fPIE works... " >&6; }
20 if test "$cross_compiling" = yes; then :
21- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23-as_fn_error $? "cannot run test program while cross compiling
24-See \`config.log' for more details" "$LINENO" 5; }
25+ gcc_supports_pie=no
26 else
27 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28 /* end confdefs.h. */