From e91c29a491267a832b2739a8f171e6e1bf263a95 Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Tue, 26 May 2020 14:45:39 +0200 Subject: gnu: txr: Update to 238. * gnu/packages/lisp.scm (txr): Update to 238. [arguments]: Don't hardcode "cc=gcc" in configure-flags. --- gnu/packages/lisp.scm | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index 3ae8dab141..21e1a0449b 100644 --- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -806,7 +806,7 @@ enough to play the original mainframe Zork all the way through.") (define-public txr (package (name "txr") - (version "235") + (version "238") (source (origin (method git-fetch) @@ -815,12 +815,15 @@ enough to play the original mainframe Zork all the way through.") (commit (string-append "txr-" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0kpqk2x0sz7sqxsrhasq0xnljjlnxwhh4xjx2nii0zy2jkv4vsbn")))) + (base32 "0asdq4n828xb1m31s7f47mqcbjqkzxz11bwnw8v3f2249m93ync4")))) (build-system gnu-build-system) (arguments - '(#:configure-flags - (list "cc=gcc" - (string-append "--prefix=" (assoc-ref %outputs "out"))) + `(#:configure-flags + (let ((target ,(%current-target-system))) + (list (string-append "cc=" (if target + (string-append target "-gcc") + "gcc")) + (string-append "--prefix=" (assoc-ref %outputs "out")))) #:test-target "tests" #:phases (modify-phases %standard-phases -- cgit v1.2.3