summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-11-16 12:14:53 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-11-16 13:03:00 +0200
commit164c49100db658b8ffaafce1d72c9de39d19d852 (patch)
tree38ac3feb1f8afed37e96b471b5fd5c972d0213d5 /gnu
parenta6b646911e7530aaaa3131a1f627128508c23c17 (diff)
downloadguix-164c49100db658b8ffaafce1d72c9de39d19d852.tar.gz
gnu: masscan: Cross compile.
* gnu/packages/admin.scm (masscan)[arguments]: Use cc-for-target in
make-flags.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/admin.scm4
1 files changed, 2 insertions, 2 deletions
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