@@ -98,7 +98,6 @@ configure_args=(
9898 --http-fastcgi-temp-path=temp/fastcgi \
9999 --http-scgi-temp-path=temp/scgi \
100100 --http-uwsgi-temp-path=temp/uwsgi \
101- --with-cc-opt=-DFD_SETSIZE=1024 \
102101 --with-http_realip_module \
103102 --with-http_addition_module \
104103 --with-http_sub_module \
@@ -124,7 +123,7 @@ configure_args=(
124123# no-ssl build
125124echo " ${configure_args[@]} "
126125auto/configure " ${configure_args[@]} " \
127- --with-cc-opt=' -s -O2 -fno-strict-aliasing -pipe'
126+ --with-cc-opt=' -DFD_SETSIZE=1024 - s -O2 -fno-strict-aliasing -pipe'
128127
129128# build
130129make " -j$( nproc) "
@@ -142,7 +141,7 @@ configure_args+=(
142141)
143142echo " ${configure_args[@]} "
144143auto/configure " ${configure_args[@]} " \
145- --with-cc-opt=' -s -O2 -fno-strict-aliasing -pipe' \
144+ --with-cc-opt=' -DFD_SETSIZE=1024 - s -O2 -fno-strict-aliasing -pipe' \
146145 --with-openssl-opt=' no-tests -D_WIN32_WINNT=0x0501'
147146
148147# build
@@ -154,7 +153,7 @@ mv -f "objs/nginx.exe" "../nginx-${version}-${machine_str}.exe"
154153# re-configure with debugging log
155154configure_args+=(--with-debug)
156155auto/configure " ${configure_args[@]} " \
157- --with-cc-opt=' -O2 -fno-strict-aliasing -pipe' \
156+ --with-cc-opt=' -DFD_SETSIZE=1024 - O2 -fno-strict-aliasing -pipe' \
158157 --with-openssl-opt=' no-tests -D_WIN32_WINNT=0x0501'
159158
160159# re-build with debugging log
0 commit comments