mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
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:
parent
74ff56a667
commit
d74ea9e560
1 changed files with 5 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue