From 079ec3f3ee13330ceb3d6421185512642d05d671 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Thu, 6 May 2021 13:24:53 +0200 Subject: gnu: nginx: Fix cross-compilation. * gnu/packages/web.scm (nginx)[arguments]: Use CC-FOR-TARGET. --- gnu/packages/web.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index cbc2754d71..387cdb3ede 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -420,7 +420,7 @@ the same, being completely separated from the Internet.") (string-append "--crossbuild=" system ":" release ":" machine))) configure-flags))) - (setenv "CC" "gcc") + (setenv "CC" ,(cc-for-target)) ;; Fix ./configure test for ‘#include ’. (setenv "CFLAGS" ; CPPFLAGS is not respected (string-append "-I" (assoc-ref inputs "libxml2") -- cgit v1.2.3