Browse Source

gnu: valgrind: Fix build on powerpc.

* gnu/packages/valgrind.scm (valgrind)[arguments]: Add make-flags for
CPU optimizations when building on powerpc.
gn-latest-20200725
Efraim Flashner 1 year ago
parent
commit
d74ea9e560
Signed by: efraim GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      gnu/packages/valgrind.scm

+ 5
- 1
gnu/packages/valgrind.scm 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)


Loading…
Cancel
Save