aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/valgrind.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-04-28 21:25:51 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-05-17 20:23:17 +0300
commitd74ea9e560d6419e6170991520c640483d21840b (patch)
tree79d3ec46ab5c9556574455bc264e2c7f801323b0 /gnu/packages/valgrind.scm
parent74ff56a6676f5b7a8865c6fca4dc67cfccc97490 (diff)
downloadguix-d74ea9e560d6419e6170991520c640483d21840b.tar
guix-d74ea9e560d6419e6170991520c640483d21840b.tar.gz
gnu: valgrind: Fix build on powerpc.
* gnu/packages/valgrind.scm (valgrind)[arguments]: Add make-flags for CPU optimizations when building on powerpc.
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)