Skip to content
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
# binary without any dependencies on the host system's version of glibc.

# URL of nginx source tarball
NGINX_SOURCE=http://nginx.org/download/nginx-1.9.2.tar.gz
NGINX_SOURCE=http://nginx.org/download/nginx-1.11.3.tar.gz
# URL of OpenSSL source tarball
OPENSSL_SOURCE=http://www.openssl.org/source/openssl-1.0.1p.tar.gz
OPENSSL_SOURCE=http://www.openssl.org/source/openssl-1.0.2h.tar.gz
# URL of PCRE source tarball
PCRE_SOURCE=http://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.37.tar.gz
PCRE_SOURCE=http://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.39.tar.gz

all: nginx/nginx

Expand Down Expand Up @@ -80,11 +80,11 @@ nginx:
mkdir -p $@

nginx/nginx: nginx pcre .nginx-patched .openssl-patched
cd src && ./configure --with-cc-opt=-static --with-ld-opt=-static \
cd src && ./configure --with-cc-opt=-Bstatic --with-ld-opt=-Bstatic \
--with-cpu-opt=generic --with-pcre=../pcre --with-mail \
--with-ipv6 --with-poll_module --with-select_module \
--with-select_module --with-poll_module --with-http_ssl_module \
--with-http_spdy_module --with-http_realip_module \
--with-http_realip_module \
--with-http_addition_module --with-http_sub_module \
--with-http_dav_module --with-http_flv_module \
--with-http_mp4_module --with-http_gunzip_module \
Expand Down