From 1f048676b6f281633cc11def311ed23fe5fc4b6d Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 16 Nov 2020 14:08:27 +0200 Subject: 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 85ff7bb352..120793545f 100644 --- a/gnu/packages/build-tools.scm +++ b/gnu/packages/build-tools.scm @@ -11,6 +11,7 @@ ;;; Copyright © 2020 Leo Prikler ;;; Copyright © 2020 Yuval Kogman ;;; Copyright © 2020 Jakub Kądziołka +;;; Copyright © 2020 Efraim Flashner ;;; ;;; 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 -- cgit 1.4.1