summaryrefslogtreecommitdiff
path: root/gnu/packages/valgrind.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/valgrind.scm')
-rw-r--r--gnu/packages/valgrind.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/packages/valgrind.scm b/gnu/packages/valgrind.scm
index dd080bb327..75e852915e 100644
--- a/gnu/packages/valgrind.scm
+++ b/gnu/packages/valgrind.scm
@@ -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)