guix-commits
[Top][All Lists]
Advanced

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

10/17: gnu: premake4: Cross compile.


From: guix-commits
Subject: 10/17: gnu: premake4: Cross compile.
Date: Mon, 16 Nov 2020 08:12:38 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 1f048676b6f281633cc11def311ed23fe5fc4b6d
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Nov 16 14:08:27 2020 +0200

    gnu: premake4: Cross compile.
    
    * gnu/packages/build-tools.scm (premake4)[arguments]: Use cc-for-target
    in make-flags.
---
 gnu/packages/build-tools.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm
index 85ff7bb..1207935 100644
--- a/gnu/packages/build-tools.scm
+++ b/gnu/packages/build-tools.scm
@@ -11,6 +11,7 @@
 ;;; Copyright © 2020 Leo Prikler <leo.prikler@student.tugraz.at>
 ;;; Copyright © 2020 Yuval Kogman <nothingmuch@woobling.org>
 ;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
+;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -252,7 +253,7 @@ resembles Python.")
     (native-inputs
      `(("unzip" ,unzip))) ; for unpacking the source
     (arguments
-     `(#:make-flags '("CC=gcc")
+     `(#:make-flags (list (string-append "CC=" ,(cc-for-target)))
        #:tests? #f ; No test suite
        #:phases
        (modify-phases %standard-phases



reply via email to

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