Bug 1024833 - Use _HAS_EXCEPTIONS=0 when building the JS engine on Windows; r=glandium

This commit is contained in:
Ehsan Akhgari 2014-06-13 09:34:40 -04:00
parent 33dfed9264
commit e9b6701f1c

View File

@ -473,6 +473,9 @@ case "$target" in
INCREMENTAL_LINKER=1 INCREMENTAL_LINKER=1
unset _MSVC_VER_FILTER unset _MSVC_VER_FILTER
CFLAGS="$CFLAGS -D_HAS_EXCEPTIONS=0"
CXXFLAGS="$CXXFLAGS -D_HAS_EXCEPTIONS=0"
elif test -z "$CLANG_CC"; then elif test -z "$CLANG_CC"; then
# Check w32api version # Check w32api version
_W32API_MAJOR_VERSION=`echo $W32API_VERSION | $AWK -F\. '{ print $1 }'` _W32API_MAJOR_VERSION=`echo $W32API_VERSION | $AWK -F\. '{ print $1 }'`