gnu: nginx: Build optimized binaries.
* gnu/packages/web.scm (nginx)[arguments]: Add "-O2 -g" to CFLAGS.
This commit is contained in:
parent
c9ce02ecff
commit
1d4f2cdc82
1 changed files with 2 additions and 1 deletions
|
@ -427,7 +427,8 @@ the same, being completely separated from the Internet.")
|
||||||
(setenv "CC" #$(cc-for-target))
|
(setenv "CC" #$(cc-for-target))
|
||||||
;; Fix ./configure test for ‘#include <libxml/parser.h>’.
|
;; Fix ./configure test for ‘#include <libxml/parser.h>’.
|
||||||
(setenv "CFLAGS" ; CPPFLAGS is not respected
|
(setenv "CFLAGS" ; CPPFLAGS is not respected
|
||||||
(string-append "-I" (search-input-directory
|
(string-append "-O2 -g "
|
||||||
|
"-I" (search-input-directory
|
||||||
inputs "/include/libxml2")))
|
inputs "/include/libxml2")))
|
||||||
(format #t "configure flags: ~s~%" configure-flags)
|
(format #t "configure flags: ~s~%" configure-flags)
|
||||||
(apply invoke "./configure"
|
(apply invoke "./configure"
|
||||||
|
|
Reference in a new issue