me
/
guix
Archived
1
0
Fork 0

gnu: nginx: Build optimized binaries.

* gnu/packages/web.scm (nginx)[arguments]: Add "-O2 -g" to CFLAGS.
master
Marius Bakke 2022-04-07 22:59:22 +02:00
parent c9ce02ecff
commit 1d4f2cdc82
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 2 additions and 1 deletions

View File

@ -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"