Update README.md
This commit is contained in:
@@ -27,7 +27,11 @@ rm -f ${NGX_SBIN_PATH}.old
|
||||
### Multithread build
|
||||
BUILD_MTS="-j$(expr $(nproc) \+ 1)"
|
||||
|
||||
git submodule update --init --recursive
|
||||
git submodule update --init --recursive --force
|
||||
|
||||
### BoringSSL Build......
|
||||
cd lib/boringssl && mkdir -p build && cd build && \
|
||||
cmake -GNinja .. && ninja && cd ../../../
|
||||
|
||||
### PCRE reconf
|
||||
if [ ! -f "lib/pcre/configure" ]; then
|
||||
@@ -102,9 +106,8 @@ if [ "$GEOIP2" = 1 ]; then BUILD_MODULES="${BUILD_MODULES} --add-module=./lib/ng
|
||||
if [ "$VTS" = 1 ]; then BUILD_MODULES="${BUILD_MODULES} --add-module=./lib/nginx-module-vts"; fi
|
||||
|
||||
auto/configure \
|
||||
--with-cc-opt="-Wno-stringop-truncation -DTCP_FASTOPEN=23 ${BUILD_BIT}${BUILD_LTO} ${TEMP_OPT} -g -O3 -march=native -fstack-protector-strong -fuse-ld=gold -fuse-linker-plugin --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wno-strict-aliasing -Wp,-D_FORTIFY_SOURCE=2 -gsplit-dwarf -DNGX_HTTP_HEADERS" \
|
||||
--with-ld-opt="${BUILD_LD} ${BUILD_LTO}" \
|
||||
--with-openssl-opt="no-cmp enable-weak-ssl-ciphers no-ssl3-method -march=native -ljemalloc ${BUILD_OPENSSL_LTO}" \
|
||||
--with-cc-opt="-Wno-stringop-truncation -DTCP_FASTOPEN=23 ${BUILD_BIT}${BUILD_LTO} ${TEMP_OPT} -g -O3 -march=native -fstack-protector-strong -fuse-ld=gold -fuse-linker-plugin --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wno-strict-aliasing -Wp,-D_FORTIFY_SOURCE=2 -gsplit-dwarf -I./lib/boringssl/include -DNGX_HTTP_HEADERS" \
|
||||
--with-ld-opt="${BUILD_LD} ${BUILD_LTO} -L./lib/boringssl/build/ssl -L./lib/boringssl/build/crypto" \
|
||||
--builddir=objs --prefix=${NGX_PREFIX} \
|
||||
--conf-path=${NGX_CONF} \
|
||||
--pid-path=${NGX_PID} \
|
||||
@@ -120,7 +123,6 @@ auto/configure \
|
||||
--with-pcre=./lib/pcre \
|
||||
--with-pcre-jit \
|
||||
--with-zlib=${BUILD_ZLIB} \
|
||||
--with-openssl=./lib/openssl \
|
||||
--with-http_realip_module \
|
||||
--with-http_addition_module \
|
||||
--with-http_sub_module \
|
||||
@@ -146,6 +148,7 @@ auto/configure \
|
||||
--with-mail_ssl_module \
|
||||
--with-http_v2_module \
|
||||
--with-http_v2_hpack_enc \
|
||||
--with-http_v3_module \
|
||||
--with-stream_ssl_module \
|
||||
--with-stream_realip_module \
|
||||
--with-stream_ssl_preread_module \
|
||||
|
||||
Reference in New Issue
Block a user