diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2021-05-06 13:24:53 +0200 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2021-05-06 13:56:25 +0200 |
commit | 079ec3f3ee13330ceb3d6421185512642d05d671 (patch) | |
tree | 7d479f1b30817b6b9cc8ff3d65ba8c548600b942 /gnu | |
parent | e0e0178f8e1e33f064e68994f236778441a6938c (diff) | |
download | guix-079ec3f3ee13330ceb3d6421185512642d05d671.tar.gz |
gnu: nginx: Fix cross-compilation.
* gnu/packages/web.scm (nginx)[arguments]: Use CC-FOR-TARGET.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/web.scm | 2 |
1 files changed, 1 insertions, 1 deletions
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 <libxml/parser.h>’. (setenv "CFLAGS" ; CPPFLAGS is not respected (string-append "-I" (assoc-ref inputs "libxml2") |