Bug 784741 - Unbreak --enable-debug --disable-methodjit on platforms without YarrJIT support. r=dmandelin

This commit is contained in:
Jan Beich 2012-08-22 21:28:47 -04:00
parent bf20bbffc0
commit 22b7f56ca1

View File

@ -3347,7 +3347,10 @@ MOZ_ARG_ENABLE_STRING(debug,
(using compiler flags DBG)],
[ if test "$enableval" != "no"; then
MOZ_DEBUG=1
ENABLE_METHODJIT_SPEW=1
if test "$ENABLE_METHODJIT"; then
# needs MethodJIT or YarrJIT
ENABLE_METHODJIT_SPEW=1
fi
if test -n "$enableval" -a "$enableval" != "yes"; then
MOZ_DEBUG_FLAGS=`echo $enableval | sed -e 's|\\\ | |g'`
_MOZ_DEBUG_FLAGS_SET=1