Welcome! Log In Create A New Profile

Advanced

[njs] Setting optimization level to "-O0" when debug option is enabled.

Dmitry Volyntsev
November 14, 2019 01:10PM
details: https://hg.nginx.org/njs/rev/4d414fccd53d
branches:
changeset: 1238:4d414fccd53d
user: Dmitry Volyntsev <xeioex@nginx.com>
date: Thu Nov 14 21:01:28 2019 +0300
description:
Setting optimization level to "-O0" when debug option is enabled.

diffstat:

auto/cc | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 3e9e1de11557 -r 4d414fccd53d auto/cc
--- a/auto/cc Tue Nov 12 16:07:42 2019 +0300
+++ b/auto/cc Thu Nov 14 21:01:28 2019 +0300
@@ -170,6 +170,7 @@ case $NJS_CC_NAME in
esac

if [ "$NJS_DEBUG" = "YES" ]; then
+ NJS_CC_OPT="$NJS_CC_OPT -O0"
njs_define=NJS_DEBUG . auto/define
njs_define=NJS_DEBUG_MEMORY . auto/define
fi
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[njs] Setting optimization level to "-O0" when debug option is enabled.

Dmitry Volyntsev 214 November 14, 2019 01:10PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 150
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready