gnu: efivar: Use correct compiler when cross compiling.

* gnu/packages/linux.scm (efivar)[arguments]: Adjust make-flags to set
CC and not CC_FOR_BUILD.
This commit is contained in:
Efraim Flashner 2022-05-15 15:51:14 +03:00
parent 1110479d2d
commit c54087a853
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -6758,7 +6758,7 @@ (define-public efivar
#:make-flags #:make-flags
#~(list (string-append "prefix=" #$output) #~(list (string-append "prefix=" #$output)
(string-append "libdir=" #$output "/lib") (string-append "libdir=" #$output "/lib")
(string-append "CC_FOR_BUILD=" #$(cc-for-target)) (string-append "CC=" #$(cc-for-target))
(string-append "LDFLAGS=-Wl,-rpath=" #$output "/lib")) (string-append "LDFLAGS=-Wl,-rpath=" #$output "/lib"))
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases