From 5456a144c70ec11723b7400d9c47ea3abdcf8eed Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 14 Aug 2022 02:00:00 +0200 Subject: gnu: ioquake3: Deduplicate make flags. * gnu/packages/game-development.scm (ioquake3)[arguments]: Honour #:make-flags in the 'install phase. --- gnu/packages/game-development.scm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm index 774564ed2a..0a78ec6ad2 100644 --- a/gnu/packages/game-development.scm +++ b/gnu/packages/game-development.scm @@ -2178,12 +2178,12 @@ of the others") #~(modify-phases %standard-phases (delete 'configure) ; no configure-script (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (invoke "make" "copyfiles" "CC=gcc" - "USE_INTERNAL_LIBS=0" - (string-append "COPYDIR=" - (assoc-ref outputs "out") - "/bin"))))))) + (lambda* (#:key make-flags outputs #:allow-other-keys) + (apply invoke "make" "copyfiles" + (string-append "COPYDIR=" + (assoc-ref outputs "out") + "/bin") + make-flags)))))) (home-page "https://ioquake3.org/") (synopsis "FPS game engine based on Quake 3") (description "ioquake3 is a free software first person shooter engine -- cgit 1.4.1