commit-hurd
[Top][All Lists]
Advanced

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

[hurd] 08/87: Disable linking when cross-compiling


From: Samuel Thibault
Subject: [hurd] 08/87: Disable linking when cross-compiling
Date: Sun, 09 Nov 2014 11:04:59 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch upstream
in repository hurd.

commit dc7e6a136e9baf98a2323758765aeab7ebae336c
Author: Ludovic Courtès <address@hidden>
Date:   Thu May 29 23:09:06 2014 +0200

    Disable linking when cross-compiling
    
    * configure.ac: Call AC_NO_EXECUTABLES when cross-compiling.
---
 configure.ac | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/configure.ac b/configure.ac
index 873ced8..cf8590b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -83,6 +83,13 @@ AC_PROG_INSTALL
 AC_PROG_AWK
 AC_PROG_SED
 
+if test "x$cross_compiling" = "xyes"; then
+   # It may be that we don't have a working libc yet, for instance
+   # because we're bootstrapping the cross-compilation tool chain.
+   # Thus, use this undocumented Autoconf macro designed for this.
+   AC_NO_EXECUTABLES
+   AC_MSG_WARN("cross-compiling, disabling linking")
+fi
 AC_PROG_CC
 # Require GCC.
 if test x$GCC != xyes; then

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/hurd.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]