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
|
@ -4454,6 +4454,11 @@ fish. The whole game is accompanied by quiet, comforting music.")
|
||||||
"-Csource"))
|
"-Csource"))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'patch-flags
|
||||||
|
(lambda _
|
||||||
|
(substitute* "source/Makefile"
|
||||||
|
(("-mfpmath=sse -msse2") ""))
|
||||||
|
#t))
|
||||||
(delete 'configure)
|
(delete 'configure)
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda* (#:key inputs outputs make-flags #:allow-other-keys)
|
(lambda* (#:key inputs outputs make-flags #:allow-other-keys)
|
||||||
|
|
Loading…
Reference in New Issue