From f6c106b46d7495f1944672ce19f3670222f98fec Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 28 Dec 2020 18:53:58 +0200 Subject: gnu: whois: Fix cross compiling. * gnu/packages/networking.scm (whois)[arguments]: Use cc-for-target and pkg-config-for-target. --- gnu/packages/networking.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gnu/packages') diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 796c42b0ee..30b17da069 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -1317,7 +1317,8 @@ (define-public whois (build-system gnu-build-system) (arguments `(#:tests? #f ; no test suite - #:make-flags (list "CC=gcc" + #:make-flags (list (string-append "CC=" ,(cc-for-target)) + (string-append "PKG_CONFIG=" ,(pkg-config-for-target)) (string-append "prefix=" (assoc-ref %outputs "out"))) #:phases (modify-phases %standard-phases -- cgit v1.2.3