From 12110f949d3c80747ca277d455eb1a36680058c4 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 16 Nov 2020 11:03:50 +0200 Subject: gnu: acpica: Cross compile. * gnu/packages/admin.scm (acpica)[arguments]: Use cc-for-target in make-flags. --- gnu/packages/admin.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 5f1f7ccca9..8db547bb76 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -1862,8 +1862,8 @@ module slots, and the list of I/O ports (e.g. serial, parallel, USB).") (native-inputs `(("flex" ,flex) ("bison" ,bison))) (arguments - '(#:make-flags (list (string-append "PREFIX=" %output) - "CC=gcc" + `(#:make-flags (list (string-append "PREFIX=" %output) + (string-append "CC=" ,(cc-for-target)) "HOST=_LINUX" "OPT_CFLAGS=-Wall -fno-strict-aliasing") #:tests? #f ; no 'check' target -- cgit 1.4.1