summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/web.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index eafb22b285..134cac1c9a 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -427,7 +427,8 @@ the same, being completely separated from the Internet.")
               (setenv "CC" #$(cc-for-target))
               ;; Fix ./configure test for ‘#include <libxml/parser.h>’.
               (setenv "CFLAGS"          ; CPPFLAGS is not respected
-                      (string-append "-I" (search-input-directory
+                      (string-append "-O2 -g "
+                                     "-I" (search-input-directory
                                            inputs "/include/libxml2")))
               (format #t "configure flags: ~s~%" configure-flags)
               (apply invoke "./configure"