summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2022-05-15 15:51:14 +0300
committerEfraim Flashner <efraim@flashner.co.il>2022-05-15 15:51:14 +0300
commitc54087a853f6e7f2f755339db50569835a80dc7e (patch)
tree0fcf5d689e607c617843954328755c59d6c5bf75
parent1110479d2d4dc69fc66eadb4a6c24ca2f13afa93 (diff)
downloadguix-c54087a853f6e7f2f755339db50569835a80dc7e.tar.gz
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.
-rw-r--r--gnu/packages/linux.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index f8b9a29843..95f2e96f17 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -6758,7 +6758,7 @@ under OpenGL graphics workloads.")
        #:make-flags
        #~(list (string-append "prefix=" #$output)
                (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"))
        #:phases
        #~(modify-phases %standard-phases