[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/03: gnu: valgrind: Fix build on powerpc.
From: |
guix-commits |
Subject: |
01/03: gnu: valgrind: Fix build on powerpc. |
Date: |
Sun, 17 May 2020 13:23:43 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit d74ea9e560d6419e6170991520c640483d21840b
Author: Efraim Flashner <address@hidden>
AuthorDate: Tue Apr 28 21:25:51 2020 +0300
gnu: valgrind: Fix build on powerpc.
* gnu/packages/valgrind.scm (valgrind)[arguments]: Add make-flags for
CPU optimizations when building on powerpc.
---
gnu/packages/valgrind.scm | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/valgrind.scm b/gnu/packages/valgrind.scm
index dd080bb..75e8529 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)