From f4f07ed5b969cb0407917f86e8f1fd5ddbfb6f3c Mon Sep 17 00:00:00 2001 From: Maxime Devos Date: Fri, 9 Apr 2021 22:08:21 +0200 Subject: [PATCH 07/16] gnu: pgpdump: Use 'cc-for-target'. * gnu/packages/gnupg.scm (pgpdump)[arguments]<#:make-flags>: Use 'cc-for-target'. --- gnu/packages/gnupg.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm index bb611bdb89..fefa1e01f1 100644 --- a/gnu/packages/gnupg.scm +++ b/gnu/packages/gnupg.scm @@ -72,6 +72,7 @@ #:use-module (gnu packages xml) #:use-module (guix packages) #:use-module (guix download) + #:use-module (guix utils) #:use-module (guix git-download) #:use-module (guix build-system gnu) #:use-module (guix build-system perl) @@ -996,7 +997,7 @@ them to transform your existing public key into a secret key.") (arguments `(#:tests? #f ; no make check #:configure-flags (list "--prefix=/") - #:make-flags (list "CC=gcc" + #:make-flags (list ,(string-append "CC=" (cc-for-target)) (string-append "DESTDIR=" (assoc-ref %outputs "out"))))) (inputs `(("zlib" ,zlib))) -- 2.31.1