gnu: netcat-openbsd: Use cc-for-target.

* gnu/packages/admin.scm (netcat-openbsd)[arguments]: Replace hard-coded
gcc with cc-for-target in make-flags.
This commit is contained in:
Efraim Flashner 2020-09-24 17:20:41 +03:00
parent 9e5758630d
commit aea2a0f967
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351

@ -9,7 +9,7 @@
;;; Copyright © 2016, 2017 Leo Famulari <leo@famulari.name>
;;; Copyright © 2016 Pjotr Prins <pjotr.guix@thebird.nl>
;;; Copyright © 2016, 2017 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2016, 2017, 2018, 2019 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016, 2017, 2018, 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Peter Feigl <peter.feigl@nexoid.at>
;;; Copyright © 2016 John J. Foerch <jjfoerch@earthlink.net>
;;; Copyright © 2016, 2017 Nikita <nikita@n0.is>
@ -841,7 +841,7 @@ would need and has several interesting built-in capabilities.")
(arguments
`(#:tests? #f ; no test suite
#:make-flags
(list "CC=gcc")
(list (string-append "CC=" ,(cc-for-target)))
#:phases
(modify-phases %standard-phases
(delete 'configure)