blob: 5574ee7093d108a955b95f62168a4da52831560e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#!/bin/bash
# this file is mostly meant to be used by the author himself.
ragel -I src -T1 src/ngx_http_redis2_reply.rl || exit 1
./util/fix-clang-warnings
root=`pwd`
version=$1
home=~
force=$2
#--with-cc-opt="-O3" \
#--with-cc-opt="-fast" \
#--with-cc=gcc46 \
ngx-build $force $version \
--with-ld-opt="-L$PCRE_LIB -Wl,-rpath,$PCRE_LIB:$LIBDRIZZLE_LIB:/usr/local/lib" \
--with-cc-opt="-O3 -funsigned-char" \
--with-http_addition_module \
--add-module=$root $opts \
--add-module=$root/../eval-nginx-module \
--add-module=$root/../echo-nginx-module \
--add-module=$root/../ndk-nginx-module \
--add-module=$root/../set-misc-nginx-module \
--add-module=$root/../lua-nginx-module \
--with-debug
#--add-module=$root/../eval-nginx-module \
#--add-module=$home/work/nginx/nginx_upstream_hash-0.3 \
#--without-http_ssi_module # we cannot disable ssi because echo_location_async depends on it (i dunno why?!)
|