From 164c49100db658b8ffaafce1d72c9de39d19d852 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 16 Nov 2020 12:14:53 +0200 Subject: gnu: masscan: Cross compile. * gnu/packages/admin.scm (masscan)[arguments]: Use cc-for-target in make-flags. --- gnu/packages/admin.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index e622368199..88d0a7901f 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -3479,9 +3479,9 @@ on systems running the Linux kernel.") (inputs `(("libpcap" ,libpcap))) (arguments - '(#:test-target "regress" + `(#:test-target "regress" #:make-flags - (list "CC=gcc" + (list (string-append "CC=" ,(cc-for-target)) (string-append "PREFIX=" (assoc-ref %outputs "out"))) #:phases (modify-phases %standard-phases -- cgit 1.4.1