me
/
guix
Archived
1
0
Fork 0

gnu: valgrind: Fix build on powerpc.

* gnu/packages/valgrind.scm (valgrind)[arguments]: Add make-flags for
CPU optimizations when building on powerpc.
master
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
1 changed files with 5 additions and 1 deletions

View File

@ -47,7 +47,11 @@
(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)