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 @@
|
||||||
(outputs '("doc" ;16 MB
|
(outputs '("doc" ;16 MB
|
||||||
"out"))
|
"out"))
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases
|
`(,@(if (string-prefix? "powerpc" (or (%current-target-system)
|
||||||
|
(%current-system)))
|
||||||
|
`(#:make-flags '("CFLAGS+=-maltivec"))
|
||||||
|
'())
|
||||||
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'install 'patch-suppression-files
|
(add-after 'install 'patch-suppression-files
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
|
Reference in a new issue