gnu: nginx: Build optimized binaries.
* gnu/packages/web.scm (nginx)[arguments]: Add "-O2 -g" to CFLAGS.master
parent
c9ce02ecff
commit
1d4f2cdc82
|
@ -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"
|
||||
|
|
Reference in New Issue