gnu: memtester: Fix cross-compilation.
* gnu/packages/hardware.scm (memtester)[arguments]: Use CC-FOR-TARGET.master
parent
ae05ac8fd2
commit
907b9dc8cb
|
@ -43,7 +43,8 @@
|
||||||
#:use-module (guix download)
|
#:use-module (guix download)
|
||||||
#:use-module (guix git-download)
|
#:use-module (guix git-download)
|
||||||
#:use-module ((guix licenses) #:prefix license:)
|
#:use-module ((guix licenses) #:prefix license:)
|
||||||
#:use-module (guix packages))
|
#:use-module (guix packages)
|
||||||
|
#:use-module (guix utils))
|
||||||
|
|
||||||
;; This is a module for packages related to physical hardware that don't (yet)
|
;; This is a module for packages related to physical hardware that don't (yet)
|
||||||
;; have a more specific home like gps.scm, security-token.scm, &c.
|
;; have a more specific home like gps.scm, security-token.scm, &c.
|
||||||
|
@ -203,7 +204,7 @@ Memtest86+ cannot currently be used on computers booted with UEFI.")
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:make-flags
|
`(#:make-flags
|
||||||
(list "CC=gcc")
|
(list ,(string-append "CC=" (cc-for-target)))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'configure
|
(replace 'configure
|
||||||
|
|
Reference in New Issue