guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: guix-commits
Subject: 04/04: gnu: netcat-openbsd: Use cc-for-target.
Date: Thu, 24 Sep 2020 10:24:58 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit aea2a0f967e644a98baff1bbe10f85b08b7e1fc6
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Sep 24 17:20:41 2020 +0300

    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.
---
 gnu/packages/admin.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index e16b69a..db68a15 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]