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.
This commit is contained in:
Efraim Flashner 2021-12-21 16:15:03 +02:00
parent 49546b6b8c
commit 9834ff5d32
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 9 additions and 1 deletions

View File

@ -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)))))