[njs] Setting optimization level to "-O0" when debug option is enabled.
Dmitry Volyntsev
xeioex at nginx.com
Thu Nov 14 18:08:31 UTC 2019
details: https://hg.nginx.org/njs/rev/4d414fccd53d
branches:
changeset: 1238:4d414fccd53d
user: Dmitry Volyntsev <xeioex at 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
More information about the nginx-devel
mailing list