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.master
parent
fc7d6bc60d
commit
b89284407f
|
@ -4454,6 +4454,11 @@ fish. The whole game is accompanied by quiet, comforting music.")
|
|||
"-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)
|
||||
|
|
Reference in New Issue