[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/14: gnu: hdparm: Fix cross-compilation.
From: |
guix-commits |
Subject: |
04/14: gnu: hdparm: Fix cross-compilation. |
Date: |
Tue, 2 Jun 2020 20:21:45 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 7dd57cc00e949dd414ed1c820d6452b2c9978184
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Wed Jun 3 01:38:11 2020 +0200
gnu: hdparm: Fix cross-compilation.
* gnu/packages/linux.scm (hdparm)[arguments]: Use CC-FOR-TARGET.
Don't strip the binary during the build phase.
---
gnu/packages/linux.scm | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index e60cc79..30420b0 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -3821,10 +3821,13 @@ isolation or root privileges.")
"03z1qm8zbgpxagk3994lvp24yqsshjibkwg05v9p3q1w7y48xrws"))))
(build-system gnu-build-system)
(arguments
- `(#:make-flags (let ((out (assoc-ref %outputs "out")))
- (list (string-append "binprefix=" out)
- (string-append "manprefix=" out)
- "CC=gcc"))
+ `(#:make-flags
+ (let ((out (assoc-ref %outputs "out")))
+ (list (string-append "binprefix=" out)
+ (string-append "manprefix=" out)
+ ,(string-append "CC=" (cc-for-target))
+ ;; Let Guix strip the binaries and not break cross-compilation.
+ "STRIP=true"))
#:phases
(modify-phases %standard-phases
(delete 'configure)) ; no configure script
- branch master updated (c45431a -> 9605af1), guix-commits, 2020/06/02
- 01/14: gnu: i2c-tools: Actually cross-compile., guix-commits, 2020/06/02
- 02/14: gnu: earlyoom: Actually cross-compile., guix-commits, 2020/06/02
- 03/14: gnu: mbpfan: Fix cross-compilation., guix-commits, 2020/06/02
- 04/14: gnu: hdparm: Fix cross-compilation.,
guix-commits <=
- 05/14: gnu: mdadm: Actually cross-compile., guix-commits, 2020/06/02
- 06/14: gnu: blktrace: Prepare for cross-compilation., guix-commits, 2020/06/02
- 07/14: gnu: acpica: Update to 20200528., guix-commits, 2020/06/02
- 12/14: gnu: bs1770gain: Update to 0.7.0., guix-commits, 2020/06/02
- 08/14: gnu: inxi-minimal: Update to 3.1.01-1., guix-commits, 2020/06/02
- 09/14: gnu: lemonbar: Fix cross-compilation., guix-commits, 2020/06/02
- 11/14: gnu: iw: Use CC-FOR-TARGET., guix-commits, 2020/06/02
- 14/14: gnu: qutebrowser: Update to 1.12.0., guix-commits, 2020/06/02
- 13/14: gnu: bs1770gain: Deduplicate home page URLs., guix-commits, 2020/06/02
- 10/14: gnu: net-tools: Fix cross-compilation., guix-commits, 2020/06/02