diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-12-28 18:53:58 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-12-28 19:04:34 +0200 |
commit | f6c106b46d7495f1944672ce19f3670222f98fec (patch) | |
tree | f3649a0fefacf54e43dcfa53f9ded79be84d5314 | |
parent | 3d395e3d831057346b79a58eae742950e49c9460 (diff) | |
download | guix-f6c106b46d7495f1944672ce19f3670222f98fec.tar.gz |
gnu: whois: Fix cross compiling.
* gnu/packages/networking.scm (whois)[arguments]: Use cc-for-target and pkg-config-for-target.
-rw-r--r-- | gnu/packages/networking.scm | 3 |
1 files changed, 2 insertions, 1 deletions
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 @@ and up to 1 Mbit/s downstream.") (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 |