aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjgart <jgart@dismail.de>2024-10-08 14:49:45 -0500
committerjgart <jgart@dismail.de>2024-10-08 14:52:57 -0500
commitabb9f60109edab8c35297596a25e63c2565ac284 (patch)
treed5cf47821b41cbb0e97b231f944fc17bdb7560ae
parentc2e08bb8e1c41ccba0b8e272c01d2a7a526e49b0 (diff)
downloadguix-abb9f60109edab8c35297596a25e63c2565ac284.tar
guix-abb9f60109edab8c35297596a25e63c2565ac284.tar.gz
gnu: lem: Use cc-for-target.
* gnu/packages/text-editors.scm (lem)[arguments]: Use cc-for-target. Change-Id: Ied9e7ec2f51c7b72470c99f0353df06354d9fc4d
-rw-r--r--gnu/packages/text-editors.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm
index 1851440ffd..5b68270090 100644
--- a/gnu/packages/text-editors.scm
+++ b/gnu/packages/text-editors.scm
@@ -200,7 +200,8 @@ extensions over the standard utility.")
(shared-lib (string-append shared-lib-dir
"/terminal.so")))
(mkdir-p shared-lib-dir)
- (invoke "gcc" "extensions/terminal/terminal.c"
+ (invoke #$(cc-for-target)
+ "extensions/terminal/terminal.c"
"-L" lib-dir "-lvterm"
"-Wl,-Bdynamic"
"-o" shared-lib