~ruther/guix-local

9834ff5d3293b2af728b41314c18ca7fb2081efe — Efraim Flashner 4 years ago 49546b6
gnu: binutils-gold: Skip gold testsuite on some architectures.

* gnu/packages/base.scm (binutils-gold)[arguments]: Add a phase on some
architecturest to skip the gold testsuite.
1 files changed, 9 insertions(+), 1 deletions(-)

M gnu/packages/base.scm
M gnu/packages/base.scm => gnu/packages/base.scm +9 -1
@@ 606,7 606,15 @@ included.")
           (add-after 'patch-source-shebangs 'patch-more-shebangs
             (lambda _
               (substitute* "gold/Makefile.in"
                 (("/bin/sh") (which "sh")))))))))
                 (("/bin/sh") (which "sh")))))
           ;; Multiple failing tests on some architectures in the gold testsuite.
           ,@(if (or (target-arm?)
                     (target-ppc32?))
               '((add-after 'unpack 'skip-gold-testsuite
                   (lambda _
                     (substitute* "gold/Makefile.in"
                       ((" testsuite") " ")))))
               '())))))
    (native-inputs
     `(("bc" ,bc)))))