From f718c0a05d64ac8f86c83ea099e68944254b1959 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sat, 11 Jul 2020 19:48:12 +0200 Subject: gnu: hss: Fix cross-compilation. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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(-) (limited to 'gnu') diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm index 8d2f1d57b3..330675f8f3 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/") -- cgit v1.2.3 acb920eb17a10ea49a0'>diff
path: root/.gitignore
AgeCommit message (Expand)Author
2023-10-22teams: Adjust shebang to use 'guix repl'....Maxim Cournoyer
2023-04-24Add mumi config....Arun Isaac
2022-07-03etc: Add teams.scm....Ricardo Wurmus
2022-06-05gitignore: Add .DS_Store....Pavel Shlyak
2021-10-16.gitignore: Ignore more autotools directories....Sarah Morgensen
2021-10-16.gitignore: Ignore more temporary test directories....Sarah Morgensen
2021-09-20etc: Add systemd files for running ‘guix gc’ periodically...Thiago Jung Bauermann