Re: NGINX "--with-zlib=..." linker error

2022-03-29 Thread Jim Popovitch via nginx
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Tue, 2022-03-29 at 16:03 -0300, Fabiano Furtado Pessoa Coelho wrote: > Hi Maxim... > > I have a ./configure error with two or more parameters on > "--with-zlib-opt=...". > > I've tried: >   * --with-zlib-opt=-O2 -fPIC >   * --with-zlib-opt="-O2

Re: NGINX "--with-zlib=..." linker error

2022-03-29 Thread Fabiano Furtado Pessoa Coelho
Hi Maxim... I have a ./configure error with two or more parameters on "--with-zlib-opt=...". I've tried: * --with-zlib-opt=-O2 -fPIC * --with-zlib-opt="-O2 -fPIC" * --with-zlib-opt='-O2 -fPIC' * --with-zlib-opt=-O2-fPIC * --with-zlib-opt=\-O2\ \-fPIC ... and none of these syntax works.

Re: NGINX "--with-zlib=..." linker error

2022-03-29 Thread Maxim Dounin
Hello! On Mon, Mar 28, 2022 at 08:25:47PM -0300, Fabiano Furtado Pessoa Coelho wrote: > Just one more thing > > I was looking in the source code and found it: > ... > auto/cc/gcc:131:if [ ".$ZLIB_OPT" = "." ]; then > auto/cc/gcc:132:ZLIB_OPT="-O2 -fomit-frame-pointer $PIPE $CPU_OPT" > au