]> git.pld-linux.org Git - packages/nginx.git/commitdiff
add debug bcond
authorElan Ruusamäe <glen@delfi.ee>
Sun, 3 May 2015 18:14:27 +0000 (21:14 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sun, 3 May 2015 18:15:27 +0000 (21:15 +0300)
nginx.spec

index c6773d83a20990d44c6d2dfe3785d749920ef18a..bb06b925edf39e1ab549b379c2a82a1e2f206334 100644 (file)
@@ -21,6 +21,7 @@
 %bcond_with    http_browser    # header "User-agent" parser
 %bcond_with    rtmp            # rtmp support
 %bcond_with    threads         # thread pool support
+%bcond_with    debug           # build with debug enabled: http://nginx.org/en/docs/debugging_log.html
 %bcond_without auth_request    # auth_request module
 
 %ifarch x32
@@ -313,7 +314,7 @@ build() {
        --with-cc="%{__cc}" \
        --with-cc-opt="%{rpmcflags}" \
        --with-ld-opt="%{rpmldflags}" \
-       %{?debug:--with-debug} \
+       %{?with_debug:--with-debug} \
        "$@"
 %{__make}
 }
This page took 0.157791 seconds and 4 git commands to generate.