diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-11-16 12:14:53 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-11-16 13:03:00 +0200 |
commit | 164c49100db658b8ffaafce1d72c9de39d19d852 (patch) | |
tree | 38ac3feb1f8afed37e96b471b5fd5c972d0213d5 /gnu/packages | |
parent | a6b646911e7530aaaa3131a1f627128508c23c17 (diff) | |
download | guix-patches-164c49100db658b8ffaafce1d72c9de39d19d852.tar guix-patches-164c49100db658b8ffaafce1d72c9de39d19d852.tar.gz |
gnu: masscan: Cross compile.
* gnu/packages/admin.scm (masscan)[arguments]: Use cc-for-target in
make-flags.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/admin.scm | 4 |
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 |