3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01: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
Signed by untrusted user: efraim
GPG key ID: 41AAE7DCCA3D8351

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