[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/03: gnu: crawl: Don't assume system architecture.
From: |
guix-commits |
Subject: |
02/03: gnu: crawl: Don't assume system architecture. |
Date: |
Fri, 8 Mar 2019 10:22:58 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit b89284407fd5d865ca7cc8622459692cec9297cf
Author: Efraim Flashner <address@hidden>
Date: Fri Mar 8 15:27:29 2019 +0200
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.
---
gnu/packages/games.scm | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 1742454..9468802 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -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)