summary refs log tree commit diff
path: root/gnu/packages/web.scm
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-04-07 22:59:22 +0200
committerMarius Bakke <marius@gnu.org>2022-04-07 23:12:44 +0200
commit1d4f2cdc827f1f0e697f339cc0229e464833ceff (patch)
treea09cf8374a07cb6c0accda96a2e634a371ce122c /gnu/packages/web.scm
parentc9ce02ecff769449bb79f9f0db33c69e2c7564f0 (diff)
downloadguix-1d4f2cdc827f1f0e697f339cc0229e464833ceff.tar.gz
gnu: nginx: Build optimized binaries.
* gnu/packages/web.scm (nginx)[arguments]: Add "-O2 -g" to CFLAGS.
Diffstat (limited to 'gnu/packages/web.scm')
-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"