guix-commits
[Top][All Lists]
Advanced

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

01/02: gnu: smithwaterman: Fix cross-compiling.


From: guix-commits
Subject: 01/02: gnu: smithwaterman: Fix cross-compiling.
Date: Sun, 10 Apr 2022 13:51:38 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 96a132809f0196d6a08f6c5c6900846d9859beb2
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Apr 10 20:46:01 2022 +0300

    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(-)

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 _



reply via email to

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