gnu: prank: Allow building on 32-bit machines.
* gnu/packages/bioinformatics.scm (prank)[arguments]: Add a phase removing the '-m64' compiler flag.
This commit is contained in:
parent
a143e1b877
commit
62d00095c2
|
@ -3529,6 +3529,12 @@ generated using the PacBio Iso-Seq protocol.")
|
||||||
(lambda _
|
(lambda _
|
||||||
(chdir "src")
|
(chdir "src")
|
||||||
#t))
|
#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)
|
(delete 'configure)
|
||||||
(replace 'install
|
(replace 'install
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
|
Loading…
Reference in New Issue