1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-20 16:15:54 +02:00

gnu: masscan: Cross compile.

* gnu/packages/admin.scm (masscan)[arguments]: Use cc-for-target in
make-flags.
This commit is contained in:
Efraim Flashner
2020-11-16 12:14:53 +02:00
parent a6b646911e
commit 164c49100d
+2 -2
View File
@@ -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