From 96a132809f0196d6a08f6c5c6900846d9859beb2 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 10 Apr 2022 20:46:01 +0300 Subject: gnu: smithwaterman: Fix cross-compiling. The 'ar' matched the 'ar' in 'aarch64-linux-gnu' to unfun consequences. * gnu/packages/bioinformatics.scm (smithwaterman)[arguments]: More closely match the 'ar' and 'ld' commands when substituting them. --- gnu/packages/bioinformatics.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 106b25a50b..0755b035e6 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -14230,8 +14230,10 @@ some of the details of opening and jumping in tabix-indexed files.") (("-c ") "-c -fPIC ")) #$@(if (%current-target-system) #~((substitute* "Makefile" - (("ld") (string-append #$(%current-target-system) "-ld")) - (("ar") (string-append #$(%current-target-system) "-ar")))) + (("\tld") + (string-append "\t" #$(%current-target-system) "-ld")) + (("\tar") + (string-append "\t" #$(%current-target-system) "-ar")))) '()))) (add-after 'build 'build-dynamic (lambda _ -- cgit v1.2.3