diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-04-28 21:25:51 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-05-17 20:23:17 +0300 |
commit | d74ea9e560d6419e6170991520c640483d21840b (patch) | |
tree | 79d3ec46ab5c9556574455bc264e2c7f801323b0 /gnu | |
parent | 74ff56a6676f5b7a8865c6fca4dc67cfccc97490 (diff) |
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')
-rw-r--r-- | gnu/packages/valgrind.scm | 6 |
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) |