From 7c544991dcee6cf8f79484f12a8249ede38d2dd2 Mon Sep 17 00:00:00 2001 From: Ben Woodcroft Date: Wed, 18 May 2016 21:21:09 +1000 Subject: [PATCH] gnu: diamond: Do not specify target architecture. * gnu/packages/bioinformatics.scm (diamond)[arguments]: Do not specify target architecture. --- gnu/packages/bioinformatics.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 1f7972870c..8cec840c6c 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -1494,7 +1494,13 @@ (define-public diamond "1dqancz32c2l7w1b2vkvh5zqa2jnf99j1c41djnx1l8pxn044zdc")))) (build-system cmake-build-system) (arguments - '(#:tests? #f)) ; no "check" target + '(#:tests? #f ; no "check" target + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'remove-native-compilation + (lambda _ + (substitute* "CMakeLists.txt" (("-march=native") "")) + #t))))) (inputs `(("zlib" ,zlib))) (home-page "https://github.com/bbuchfink/diamond")