gnu: valgrind: Fix build on powerpc.

* gnu/packages/valgrind.scm (valgrind)[arguments]: Add make-flags for
CPU optimizations when building on powerpc.
This commit is contained in:
Efraim Flashner 2020-04-28 21:25:51 +03:00
parent 74ff56a667
commit d74ea9e560
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -47,7 +47,11 @@ (define-public valgrind
(outputs '("doc" ;16 MB
"out"))
(arguments
'(#:phases
`(,@(if (string-prefix? "powerpc" (or (%current-target-system)
(%current-system)))
`(#:make-flags '("CFLAGS+=-maltivec"))
'())
#:phases
(modify-phases %standard-phases
(add-after 'install 'patch-suppression-files
(lambda* (#:key outputs #:allow-other-keys)