change: "./configure --with-debug" now also pass the extra C compiler options -DNGX_LUA_USE_ASSERT -DNGX_LUA_ABORT_AT_PANIC for ngx_lua.

This commit is contained in:
Yichun Zhang (agentzh)
2014-07-04 18:57:47 -07:00
parent 217b21e928
commit b1f221b066
2 changed files with 6 additions and 1 deletions

View File

@ -297,6 +297,7 @@ cd ..
cd nginx-1.7.2
./configure --prefix=/usr/local/openresty/nginx \
--with-debug \
--with-cc-opt='-DNGX_LUA_USE_ASSERT -DNGX_LUA_ABORT_AT_PANIC' \
--add-module=../ngx_devel_kit-0.2.19 \
--add-module=../echo-nginx-module-0.54 \
--add-module=../xss-nginx-module-0.04 \
@ -1417,6 +1418,7 @@ cd ..
cd nginx-1.7.2
./configure --prefix=/usr/local/openresty/nginx \
--with-debug \
--with-cc-opt='-DNGX_LUA_USE_ASSERT -DNGX_LUA_ABORT_AT_PANIC' \
--add-module=../ngx_devel_kit-0.2.19 \
--add-module=../echo-nginx-module-0.54 \
--add-module=../xss-nginx-module-0.04 \
@ -1489,6 +1491,7 @@ cd ..
cd nginx-1.7.2
./configure --prefix=/usr/local/openresty/nginx \
--with-debug \
--with-cc-opt='-DNGX_LUA_USE_ASSERT -DNGX_LUA_ABORT_AT_PANIC' \
--add-module=../ngx_devel_kit-0.2.19 \
--add-module=../echo-nginx-module-0.54 \
--add-module=../xss-nginx-module-0.04 \
@ -2388,6 +2391,7 @@ cd ..
cd nginx-1.7.2
./configure --prefix=/usr/local/openresty/nginx \
--with-debug \
--with-cc-opt='-DNGX_LUA_USE_ASSERT -DNGX_LUA_ABORT_AT_PANIC' \
--add-module=../ngx_devel_kit-0.2.19 \
--add-module=../echo-nginx-module-0.54 \
--add-module=../xss-nginx-module-0.04 \
@ -3292,6 +3296,7 @@ cd ..
cd nginx-1.7.2
./configure --prefix=/usr/local/openresty/nginx \
--with-debug \
--with-cc-opt='-DNGX_LUA_USE_ASSERT -DNGX_LUA_ABORT_AT_PANIC' \
--add-module=../ngx_devel_kit-0.2.19 \
--add-module=../echo-nginx-module-0.54 \
--add-module=../xss-nginx-module-0.04 \