gnu: masscan: Cross compile.
* gnu/packages/admin.scm (masscan)[arguments]: Use cc-for-target in make-flags.
This commit is contained in:
parent
a6b646911e
commit
164c49100d
1 changed files with 2 additions and 2 deletions
|
@ -3479,9 +3479,9 @@ on systems running the Linux kernel.")
|
||||||
(inputs
|
(inputs
|
||||||
`(("libpcap" ,libpcap)))
|
`(("libpcap" ,libpcap)))
|
||||||
(arguments
|
(arguments
|
||||||
'(#:test-target "regress"
|
`(#:test-target "regress"
|
||||||
#:make-flags
|
#:make-flags
|
||||||
(list "CC=gcc"
|
(list (string-append "CC=" ,(cc-for-target))
|
||||||
(string-append "PREFIX=" (assoc-ref %outputs "out")))
|
(string-append "PREFIX=" (assoc-ref %outputs "out")))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
|
Reference in a new issue