Skip to content
Snippets Groups Projects
Commit 85811820 authored by Bartłomiej Piotrowski's avatar Bartłomiej Piotrowski
Browse files

Separate common from stable-only flags

parent 5259e43e
No related branches found
No related tags found
No related merge requests found
......@@ -30,27 +30,30 @@ md5sums=('2e91695074dbdfbf1bcec0ada9fda462'
'5dd4d09914a4403b9df778ec1d66167c'
'19a26a61c8afe78defb8b4544f79a9a0')
_common_flags=(
--with-imap
--with-imap_ssl_module
--with-ipv6
--with-pcre-jit
--with-file-aio
--with-http_addition_module
--with-http_auth_request_module
--with-http_dav_module
--with-http_degradation_module
--with-http_flv_module
--with-http_geoip_module
--with-http_gunzip_module
--with-http_gzip_static_module
--with-http_mp4_module
--with-http_realip_module
--with-http_secure_link_module
--with-http_ssl_module
--with-http_stub_status_module
--with-http_sub_module
)
_stable_flags=(
--with-imap \
--with-imap_ssl_module \
--with-ipv6 \
--with-pcre-jit \
--with-file-aio \
--with-http_addition_module \
--with-http_auth_request_module \
--with-http_dav_module \
--with-http_degradation_module \
--with-http_flv_module \
--with-http_geoip_module \
--with-http_gunzip_module \
--with-http_gzip_static_module \
--with-http_mp4_module \
--with-http_realip_module \
--with-http_secure_link_module \
--with-http_spdy_module \
--with-http_ssl_module \
--with-http_stub_status_module \
--with-http_sub_module \
--with-http_spdy_module
)
build() {
......@@ -71,6 +74,7 @@ build() {
--http-fastcgi-temp-path=/var/lib/nginx/fastcgi \
--http-scgi-temp-path=/var/lib/nginx/scgi \
--http-uwsgi-temp-path=/var/lib/nginx/uwsgi \
${_common_flags[@]} \
${_stable_flags[@]}
make
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment