gnu: memtester: Fix cross-compilation.

* gnu/packages/hardware.scm (memtester)[arguments]: Use CC-FOR-TARGET.
This commit is contained in:
Tobias Geerinckx-Rice 2020-06-02 20:29:12 +02:00
parent ae05ac8fd2
commit 907b9dc8cb
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -43,7 +43,8 @@ (define-module (gnu packages hardware)
#:use-module (guix download)
#:use-module (guix git-download)
#: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)
;; have a more specific home like gps.scm, security-token.scm, &c.
@ -203,7 +204,7 @@ (define-public memtester
(build-system gnu-build-system)
(arguments
`(#:make-flags
(list "CC=gcc")
(list ,(string-append "CC=" (cc-for-target)))
#:phases
(modify-phases %standard-phases
(replace 'configure