From b89284407fd5d865ca7cc8622459692cec9297cf Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Fri, 8 Mar 2019 15:27:29 +0200 Subject: 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(+) (limited to 'gnu') diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 1742454729..9468802ea2 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) -- cgit v1.2.3