[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/13: gnu: hss: Fix cross-compilation.
From: |
guix-commits |
Subject: |
04/13: gnu: hss: Fix cross-compilation. |
Date: |
Sat, 11 Jul 2020 16:04:41 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit f718c0a05d64ac8f86c83ea099e68944254b1959
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sat Jul 11 19:48:12 2020 +0200
gnu: hss: Fix cross-compilation.
* gnu/packages/ssh.scm (hss)[arguments]: Move $CC to MAKE-FLAGS and use
CC-FOR-TARGET. Rename ‘pre-env’ to the more accurate ‘patch-file-names’.
---
gnu/packages/ssh.scm | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm
index 8d2f1d5..330675f 100644
--- a/gnu/packages/ssh.scm
+++ b/gnu/packages/ssh.scm
@@ -87,17 +87,18 @@
(inputs
`(("readline" ,readline)))
(arguments
- `(#:tests? #f ;no tests
+ `(#:make-flags
+ (list ,(string-append "CC=" (cc-for-target)))
+ #:tests? #f ; no tests
#:phases
(modify-phases %standard-phases
- (add-after 'unpack 'set-env
+ (add-after 'unpack 'patch-file-names
(lambda* (#:key inputs outputs #:allow-other-keys)
(substitute* "Makefile"
(("/usr/local/bin")
(string-append (assoc-ref outputs "out") "/bin"))
(("/usr/local/opt/readline")
(assoc-ref inputs "readline")))
- (setenv "CC" "gcc")))
(delete 'configure))))
(build-system gnu-build-system)
(home-page "https://github.com/six-ddc/hss/")
- branch master updated (661ad8d -> 183f069), guix-commits, 2020/07/11
- 01/13: gnu: libglvnd: Update to 1.3.2., guix-commits, 2020/07/11
- 02/13: gnu: hss: Move to (gnu packages ssh)., guix-commits, 2020/07/11
- 03/13: gnu: hss: Edit description., guix-commits, 2020/07/11
- 06/13: gnu: hss: Patch less., guix-commits, 2020/07/11
- 04/13: gnu: hss: Fix cross-compilation.,
guix-commits <=
- 05/13: gnu: hss: Return #t from phase., guix-commits, 2020/07/11
- 07/13: gnu: gperftools: Update to 2.8., guix-commits, 2020/07/11
- 08/13: gnu: bitcoin-abc: Update to 0.21.10., guix-commits, 2020/07/11
- 13/13: gnu: wsjtx: Update to 2.2.2., guix-commits, 2020/07/11
- 09/13: gnu: xfce4-eyes-plugin: Update to 4.5.1., guix-commits, 2020/07/11
- 10/13: gnu: svt-av1: Update to 0.8.4., guix-commits, 2020/07/11
- 11/13: gnu: s6-linux-init: Update to 1.0.4.2., guix-commits, 2020/07/11
- 12/13: gnu: flrig: Update to 1.3.51., guix-commits, 2020/07/11