diff options
author | jgart <jgart@dismail.de> | 2024-10-08 14:49:45 -0500 |
---|---|---|
committer | jgart <jgart@dismail.de> | 2024-10-08 14:52:57 -0500 |
commit | abb9f60109edab8c35297596a25e63c2565ac284 (patch) | |
tree | d5cf47821b41cbb0e97b231f944fc17bdb7560ae | |
parent | c2e08bb8e1c41ccba0b8e272c01d2a7a526e49b0 (diff) | |
download | guix-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.scm | 3 |
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 |