mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-27 04:59:27 -05:00
gnu: crawl: Don't assume system architecture.
This allows crawl to build on non-Intel architectures. * gnu/packages/games.scm (crawl)[arguments]: Add a custom phase to remove x86* specific CFLAGS.
This commit is contained in:
parent
fc7d6bc60d
commit
b89284407f
1 changed files with 5 additions and 0 deletions
|
@ -4454,6 +4454,11 @@ (define-public crawl
|
|||
"-Csource"))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-flags
|
||||
(lambda _
|
||||
(substitute* "source/Makefile"
|
||||
(("-mfpmath=sse -msse2") ""))
|
||||
#t))
|
||||
(delete 'configure)
|
||||
(replace 'check
|
||||
(lambda* (#:key inputs outputs make-flags #:allow-other-keys)
|
||||
|
|
Loading…
Reference in a new issue