summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/web.scm2
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")