-MD -MDd cl.exe flags problem during spidermonkey building

rafail2004--- via dev-tech-js-engine <[email protected]> Thu, 22 Aug 2019 07:51:51 -0700 (PDT)
Newsgroups gmane.comp.mozilla.devel.jseng
Message-ID <[email protected]>
Hello!

Could You help me, I tried to use spiderMonkez JS engine (mozilla-esr52).
Tried to build it due to the manual on official web site.

Trzing to build project with "mozilla-build" v3.2

"
cd js/src
autoconf-2.13

mkdir ./_x86_debug
cd ./_x86_debug

../configure --enable-debug --disable-optimize --enable-nspr-build --disable-shared-js
"

If try to open *.mk files, we can see "RTL_FLAGS += -MD", but in previous step in configuration "--enable-debug --disable-optimize" flags were setted. So created static lib "js_static.lib" couldn't be used in Debug mode in VisualStudio project, because lib looks like release one.

Then I tried to change all "RTL_FLAGS += -MD" to "RTL_FLAGS += -MDd" in every make file, and builded again. But got other problems.

Could You help me. It seems I`m doing something wrong