mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-08 16:06:16 -05:00
gnu: nginx: Fix cross-compilation.
* gnu/packages/web.scm (nginx)[arguments]: Use CC-FOR-TARGET.
This commit is contained in:
parent
e0e0178f8e
commit
079ec3f3ee
1 changed files with 1 additions and 1 deletions
|
@ -420,7 +420,7 @@ (define-public nginx
|
|||
(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")
|
||||
|
|
Loading…
Reference in a new issue