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
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -3479,9 +3479,9 @@ (define-public masscan
(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