guix-commits
[Top][All Lists]
Advanced

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

01/01: gnu: prank: Allow building on 32-bit machines.


From: Efraim Flashner
Subject: 01/01: gnu: prank: Allow building on 32-bit machines.
Date: Thu, 22 Sep 2016 16:26:42 +0000 (UTC)

efraim pushed a commit to branch master
in repository guix.

commit 62d00095c2d20f4625189c7e5d642f66f65fd9d7
Author: Efraim Flashner <address@hidden>
Date:   Thu Sep 22 19:20:26 2016 +0300

    gnu: prank: Allow building on 32-bit machines.
    
    * gnu/packages/bioinformatics.scm (prank)[arguments]: Add a phase
    removing the '-m64' compiler flag.
---
 gnu/packages/bioinformatics.scm |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index b273d2c..28d1388 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -3529,6 +3529,12 @@ generated using the PacBio Iso-Seq protocol.")
             (lambda _
               (chdir "src")
               #t))
+         (add-after 'unpack 'remove-m64-flag
+           ;; Prank will build with the correct 'bit-ness' without this flag
+           ;; and this allows building on 32-bit machines.
+           (lambda _ (substitute* "src/Makefile"
+                                  (("-m64") ""))
+             #t))
          (delete 'configure)
          (replace 'install
            (lambda* (#:key outputs #:allow-other-keys)



reply via email to

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