diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2020-06-02 18:57:15 +0200 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2020-06-02 20:50:17 +0200 |
commit | 33430a455e3c6b01a6edb4afb5febdf7b9c689af (patch) | |
tree | e4693e65a8a32ce51fa58345fbb700d2086ea487 | |
parent | 37465b5be0324d9c953408fe88e2509ad0891712 (diff) | |
download | guix-33430a455e3c6b01a6edb4afb5febdf7b9c689af.tar.gz |
gnu: os-prober: Fix cross-compilation.
* gnu/packages/bootloaders.scm (os-prober)[arguments]: Use CC-FOR-TARGET.
-rw-r--r-- | gnu/packages/bootloaders.scm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm index 5273412adf..ea80cf020e 100644 --- a/gnu/packages/bootloaders.scm +++ b/gnu/packages/bootloaders.scm @@ -7,7 +7,7 @@ ;;; Copyright © 2016, 2017 Danny Milosavljevic <dannym@scratchpost.org> ;;; Copyright © 2016, 2017 David Craven <david@craven.ch> ;;; Copyright © 2017, 2018 Efraim Flashner <efraim@flashner.co.il> -;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr> +;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2019 nee <nee@cock.li> ;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com> ;;; Copyright © 2020 Björn Höfling <bjoern.hoefling@bjoernhoefling.de> @@ -1017,7 +1017,8 @@ tools, and more.") (guix build utils) (ice-9 regex) ; for string-match (srfi srfi-26)) ; for cut - #:make-flags (list "CC=gcc") + #:make-flags + (list ,(string-append "CC=" (cc-for-target))) #:tests? #f ; no tests #:phases (modify-phases %standard-phases |