gnu: premake4: Cross compile.

* gnu/packages/build-tools.scm (premake4)[arguments]: Use cc-for-target
in make-flags.
This commit is contained in:
Efraim Flashner 2020-11-16 14:08:27 +02:00
parent 40e9545632
commit 1f048676b6
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -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 @@ (define-public premake4
(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