aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/build-tools.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-11-16 14:08:27 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-11-16 14:08:27 +0200
commit1f048676b6f281633cc11def311ed23fe5fc4b6d (patch)
tree09b1fd5f9f89e706dd5ecce148928a598873899c /gnu/packages/build-tools.scm
parent40e9545632c6a5f508fb0651d1481dc9e09c82b3 (diff)
downloadguix-1f048676b6f281633cc11def311ed23fe5fc4b6d.tar
guix-1f048676b6f281633cc11def311ed23fe5fc4b6d.tar.gz
gnu: premake4: Cross compile.
* gnu/packages/build-tools.scm (premake4)[arguments]: Use cc-for-target in make-flags.
Diffstat (limited to 'gnu/packages/build-tools.scm')
-rw-r--r--gnu/packages/build-tools.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm
index 85ff7bb352..120793545f 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