guix-commits
[Top][All Lists]
Advanced

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

01/03: gnu: gnutls: Fix cross-compilation.


From: guix-commits
Subject: 01/03: gnu: gnutls: Fix cross-compilation.
Date: Mon, 5 Oct 2020 05:18:28 -0400 (EDT)

mothacehe pushed a commit to branch master
in repository guix.

commit 525a351efaea52dbd4f93321a490397ebeb2130f
Author: Mathieu Othacehe <othacehe@gnu.org>
AuthorDate: Mon Oct 5 10:57:28 2020 +0200

    gnu: gnutls: Fix cross-compilation.
    
    * gnu/packages/tls.scm (gnutls)[arguments]: Disable tests when
    cross-compiling.
---
 gnu/packages/tls.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index a773b07..cfdef6a 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -181,7 +181,8 @@ living in the same process.")
                "0jvca1qahn9lrwv6f5kfs95icirc15b2a8x9fzczyj996ipg3b5z"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:tests? ,(not (hurd-target?))
+     `(#:tests? ,(not (or (%current-target-system)
+                          (hurd-target?)))
        ;; Ensure we don't keep a reference to net-tools.
        #:disallowed-references ,(if (hurd-target?) '() (list net-tools))
        #:configure-flags



reply via email to

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