Skip to content
Snippets Groups Projects
Unverified Commit 834ab064 authored by Tobias Geerinckx-Rice's avatar Tobias Geerinckx-Rice
Browse files

gnu: filters: Prepare for cross-compilation.

* gnu/packages/toys.scm (filters)[arguments]: Use CC-FOR-TARGET.
parent 95328851
No related branches found
No related tags found
No related merge requests found
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2017, 2018, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2019 Jesse Gibbons <jgibbons2357+guix@gmail.com>
;;; Copyright © 2019, 2020 Timotej Lazar <timotej.lazar@araneo.si>
;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il>
......@@ -32,7 +32,8 @@ (define-module (gnu packages toys)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages))
#:use-module (guix packages)
#:use-module (guix utils))
(define-public sl
(package
......@@ -101,7 +102,8 @@ (define-public filters
(build-system gnu-build-system)
(arguments
`(#:make-flags
(list "CC=gcc" (string-append "DESTDIR=" %output))
(list (string-append "CC=" ,(cc-for-target))
(string-append "DESTDIR=" %output))
#:phases
(modify-phases %standard-phases
(delete 'configure)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment