diff options
author | Marius Bakke <marius@gnu.org> | 2022-04-07 22:59:22 +0200 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2022-04-07 23:12:44 +0200 |
commit | 1d4f2cdc827f1f0e697f339cc0229e464833ceff (patch) | |
tree | a09cf8374a07cb6c0accda96a2e634a371ce122c /gnu | |
parent | c9ce02ecff769449bb79f9f0db33c69e2c7564f0 (diff) | |
download | guix-1d4f2cdc827f1f0e697f339cc0229e464833ceff.tar guix-1d4f2cdc827f1f0e697f339cc0229e464833ceff.tar.gz |
gnu: nginx: Build optimized binaries.
* gnu/packages/web.scm (nginx)[arguments]: Add "-O2 -g" to CFLAGS.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/web.scm | 3 |
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" |