Allow debug symbols to be included when compiling from source- http://wiki.nginx.org/Debugging#Core_dump
This commit is contained in:
parent
313185674c
commit
5ce9ff0c11
@ -163,7 +163,11 @@ nginx:
|
||||
- cwd: {{ nginx_source }}
|
||||
- names:
|
||||
- (
|
||||
{%- if nginx.get('debug_symbols', false) %}
|
||||
CFLAGS="-g -O0" ./configure --conf-path={{ conf_dir }}/nginx.conf
|
||||
{%- else %}
|
||||
./configure --conf-path={{ conf_dir }}/nginx.conf
|
||||
{%- endif %}
|
||||
--sbin-path={{ sbin_dir }}/nginx
|
||||
--user={{ nginx_map.default_user }}
|
||||
--group={{ nginx_map.default_group }}
|
||||
|
Loading…
Reference in New Issue
Block a user