From abb9f60109edab8c35297596a25e63c2565ac284 Mon Sep 17 00:00:00 2001 From: jgart Date: Tue, 8 Oct 2024 14:49:45 -0500 Subject: gnu: lem: Use cc-for-target. * gnu/packages/text-editors.scm (lem)[arguments]: Use cc-for-target. Change-Id: Ied9e7ec2f51c7b72470c99f0353df06354d9fc4d --- gnu/packages/text-editors.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 @@ (define-public lem (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 -- cgit v1.2.3