This commit is contained in:
Tatsuya Kaneko 2025-05-27 00:38:47 +02:00 committed by GitHub
commit fcd1f996ea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 7 deletions

View File

@ -52,7 +52,7 @@ END
$ZLIB/libz.a: $NGX_MAKEFILE
cd $ZLIB \\
&& \$(MAKE) distclean \\
&& if [ -f Makefile ]; then \$(MAKE) distclean; fi \\
&& \$(MAKE) -f win32/Makefile.gcc \\
CFLAGS="$ZLIB_OPT" CC="\$(CC)" \\
libz.a
@ -75,10 +75,10 @@ END
$ZLIB/libz.a: $NGX_MAKEFILE
cd $ZLIB \\
&& \$(MAKE) distclean \\
&& if [ -f Makefile ]; then \$(MAKE) distclean; fi \\
&& cp contrib/asm586/match.S . \\
&& CFLAGS="$ZLIB_OPT -DASMV" CC="\$(CC)" \\
./configure \\
./configure $ZLIB_CONF_OPT \\
&& \$(MAKE) OBJA=match.o libz.a
END
@ -92,10 +92,10 @@ END
$ZLIB/libz.a: $NGX_MAKEFILE
cd $ZLIB \\
&& \$(MAKE) distclean \\
&& if [ -f Makefile ]; then \$(MAKE) distclean; fi \\
&& cp contrib/asm686/match.S . \\
&& CFLAGS="$ZLIB_OPT -DASMV" CC="\$(CC)" \\
./configure \\
./configure $ZLIB_CONF_OPT \\
&& \$(MAKE) OBJA=match.o libz.a
END
@ -125,9 +125,9 @@ if [ $done = NO ]; then
$ZLIB/libz.a: $NGX_MAKEFILE
cd $ZLIB \\
&& \$(MAKE) distclean \\
&& if [ -f Makefile ]; then \$(MAKE) distclean; fi \\
&& CFLAGS="$ZLIB_OPT" CC="\$(CC)" \\
./configure \\
./configure $ZLIB_CONF_OPT \\
&& \$(MAKE) libz.a
END

View File

@ -402,6 +402,7 @@ $0: warning: the \"--with-sha1-asm\" option is deprecated"
--with-zlib=*) ZLIB="$value" ;;
--with-zlib-opt=*) ZLIB_OPT="$value" ;;
--with-zlib-conf-opt=*) ZLIB_CONF_OPT="$value" ;;
--with-zlib-asm=*) ZLIB_ASM="$value" ;;
--with-libatomic) NGX_LIBATOMIC=YES ;;