gnu: nginx: Fix cross-compilation.
* gnu/packages/web.scm (nginx)[arguments]: Use CC-FOR-TARGET.master
parent
e0e0178f8e
commit
079ec3f3ee
|
@ -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")
|
||||
|
|
Reference in New Issue