guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/10: gnu: valgrind: Fix build on powerpc.


From: guix-commits
Subject: 06/10: gnu: valgrind: Fix build on powerpc.
Date: Fri, 1 May 2020 04:19:33 -0400 (EDT)

efraim pushed a commit to branch wip-ppc
in repository guix.

commit 058c9e778324bc710476070dc47672c4f8a62487
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 | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/valgrind.scm b/gnu/packages/valgrind.scm
index dd080bb..34ec1bd 100644
--- a/gnu/packages/valgrind.scm
+++ b/gnu/packages/valgrind.scm
@@ -47,7 +47,10 @@
     (outputs '("doc"                              ;16 MB
                "out"))
     (arguments
-     '(#:phases
+     `(,@(if (string-prefix? "powerpc" (%current-system))
+           `(#:make-flags '("CFLAGS+=-maltivec"))
+           '())
+       #:phases
        (modify-phases %standard-phases
          (add-after 'install 'patch-suppression-files
            (lambda* (#:key outputs #:allow-other-keys)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]