[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
18/26: gnu: 0xffff: Prepare for cross-compilation.
From: |
guix-commits |
Subject: |
18/26: gnu: 0xffff: Prepare for cross-compilation. |
Date: |
Fri, 3 Sep 2021 17:27:39 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 81cd1c580c30974568e5cf8e5ce39f22cad53268
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Fri Sep 3 19:17:39 2021 +0200
gnu: 0xffff: Prepare for cross-compilation.
* gnu/packages/flashing-tools.scm (0xffff)[arguments]: Use
CC-FOR-TARGET for cross compilation.
---
gnu/packages/flashing-tools.scm | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/flashing-tools.scm b/gnu/packages/flashing-tools.scm
index 371bbb7..32c17b5 100644
--- a/gnu/packages/flashing-tools.scm
+++ b/gnu/packages/flashing-tools.scm
@@ -6,7 +6,7 @@
;;; Copyright © 2016, 2019 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2017 Jonathan Brielmaier <jonathan.brielmaier@web.de>
;;; Copyright © 2017 Julien Lepiller <julien@lepiller.eu>
-;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2018–2021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2021 Ricardo Wurmus <rekado@elephly.net>
;;;
;;; This file is part of GNU Guix.
@@ -29,6 +29,7 @@
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix packages)
+ #:use-module (guix utils)
#:use-module (gnu packages)
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
@@ -111,13 +112,16 @@ programmer devices.")
(base32 "0rl1xzbxl991pm2is98zbryac1lgjrc3zphmbd8agv07av0r6r6n"))))
(build-system gnu-build-system)
(inputs
- `(("libusb" ,libusb-0.1))) ; doesn't work with libusb-compat
+ ;; Building with libusb-compat will succeed but the result will be broken.
+ ;; See <https://github.com/pali/0xFFFF/issues/3>.
+ `(("libusb" ,libusb-0.1)))
(arguments
- '(#:phases
+ `(#:phases
(modify-phases %standard-phases
(delete 'configure)) ; no configure
#:make-flags
- (list "CC=gcc"
+ (list (string-append "CC=" ,(cc-for-target))
+ "HOST_CC=gcc"
"BUILD_DATE=GNU Guix"
(string-append "PREFIX=" %output))
#:tests? #f)) ; no 'check' target
- 06/26: gnu: nftables: Omit static library., (continued)
- 06/26: gnu: nftables: Omit static library., guix-commits, 2021/09/03
- 07/26: gnu: hplip: Update to 3.21.6., guix-commits, 2021/09/03
- 08/26: gnu: inxi-minimal: Update to 3.3.06-1., guix-commits, 2021/09/03
- 09/26: gnu: igt-gpu-tools: Update to 1.26., guix-commits, 2021/09/03
- 10/26: gnu: lldpd: Update to 1.0.12., guix-commits, 2021/09/03
- 14/26: gnu: xrandr-invert-colors: Update to 0.02., guix-commits, 2021/09/03
- 17/26: gnu: 0xffff: Update to 0.9., guix-commits, 2021/09/03
- 20/26: gnu: benchmark: Update to 1.5.6., guix-commits, 2021/09/03
- 15/26: gnu: xrandr-invert-colors: Fix executable name., guix-commits, 2021/09/03
- 16/26: gnu: balsa: Update to 2.6.3., guix-commits, 2021/09/03
- 18/26: gnu: 0xffff: Prepare for cross-compilation.,
guix-commits <=
- 19/26: gnu: cjson: Update to 1.7.15., guix-commits, 2021/09/03
- 21/26: gnu: drumstick: Update to 2.3.1., guix-commits, 2021/09/03
- 25/26: gnu: samplv1: Update to 0.9.23., guix-commits, 2021/09/03
- 26/26: gnu: padthv1: Update to 0.9.23., guix-commits, 2021/09/03
- 12/26: gnu: libostree: Update to 2021.3., guix-commits, 2021/09/03
- 11/26: gnu: bcachefs-tools: Update to 0.1-9.6c42566., guix-commits, 2021/09/03
- 13/26: gnu: vsftpd: Update to 3.0.5., guix-commits, 2021/09/03
- 22/26: gnu: qtractor: Update to 0.9.23., guix-commits, 2021/09/03
- 23/26: gnu: synthv1: Update to 0.9.23., guix-commits, 2021/09/03
- 24/26: gnu: drumkv1: Update to 0.9.23., guix-commits, 2021/09/03