gnu: acl: Fix cross-compilation.
authorMathieu Othacehe <othacehe@gnu.org>
Tue, 27 Oct 2020 11:00:07 +0000 (12:00 +0100)
committerMathieu Othacehe <othacehe@gnu.org>
Tue, 27 Oct 2020 11:02:31 +0000 (12:02 +0100)
This is a follow-up of 6693eac6eb9e13852f2b4156f1e9ebcd70ec43b6.

* gnu/packages/acl.scm (acl): Disable tests when cross-compiling.

gnu/packages/acl.scm

index 4e90703..be4b079 100644 (file)
@@ -51,7 +51,8 @@
      `(#:modules ((ice-9 ftw)
                   ,@%gnu-build-system-modules)
        #:configure-flags '("--disable-static")
-       #:tests? ,(not (hurd-target?))
+       #:tests? ,(not (or (%current-target-system)
+                          (hurd-target?)))
        #:phases
        (modify-phases %standard-phases
          ;; XXX After repacking the sources the timestamps are reset to the