gnu: libevdi: Fix cross-compilation.

* gnu/packages/linux.scm (libevdi)[arguments]: Use CC-FOR-TARGET.
This commit is contained in:
Tobias Geerinckx-Rice 2023-09-10 02:00:00 +02:00
parent c5657608c6
commit 128ddcda76
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -1587,7 +1587,8 @@ (define-public libevdi
(build-system gnu-build-system)
(arguments
(list #:tests? #f ;no test suite
#:make-flags #~'("CC=gcc")
#:make-flags
#~(list (string-append "CC=" #$(cc-for-target)))
#:phases #~(modify-phases %standard-phases
(delete 'configure)
(add-after 'unpack 'chdir