Properly set c++ exception flags for Irix MIPSPro compiler.
Thanks to John Vandenberg <johnv@adacel.com.au> for the patch. Bug #82496 r=cls a=asa git-svn-id: svn://10.0.0.236/trunk@96369 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
9853790421
commit
9fb8a2cc5c
679
mozilla/configure
vendored
679
mozilla/configure
vendored
File diff suppressed because it is too large
Load Diff
@ -723,6 +723,9 @@ case "$target" in
|
||||
fi
|
||||
AC_DEFINE(NSCAP_DISABLE_DEBUG_PTR_TYPES)
|
||||
fi
|
||||
if test -z "$GNU_CXX"; then
|
||||
MIPSPRO_CXX=1
|
||||
fi
|
||||
;;
|
||||
|
||||
*-*linux*)
|
||||
@ -2564,6 +2567,9 @@ if test "$GNU_CXX"; then
|
||||
AC_MSG_RESULT($ac_cv_cxx_exceptions_flags)
|
||||
_MOZ_EXCEPTIONS_FLAGS=$ac_cv_cxx_exceptions_flags
|
||||
fi
|
||||
if test "$MIPSPRO_CXX"; then
|
||||
_MOZ_EXCEPTIONS_FLAGS="-LANG:exceptions=OFF"
|
||||
fi
|
||||
|
||||
dnl Put your C++ language/feature checks below
|
||||
AC_LANG_CPLUSPLUS
|
||||
@ -3644,7 +3650,12 @@ dnl C++ exceptions (g++/egcs only - for now)
|
||||
dnl Should be smarter and check that the compiler does indeed have exceptions
|
||||
MOZ_ARG_ENABLE_BOOL(cpp-exceptions,
|
||||
[ --enable-cpp-exceptions Enable C++ exceptions ],
|
||||
[ _MOZ_EXCEPTIONS_FLAGS=-fexceptions ]
|
||||
[ if test "$MIPSPRO_CXX"; then
|
||||
_MOZ_EXCEPTIONS_FLAGS=-LANG:exceptions=ON
|
||||
else
|
||||
_MOZ_EXCEPTIONS_FLAGS=-fexceptions
|
||||
fi
|
||||
]
|
||||
)
|
||||
|
||||
dnl Enable Ultrasparc specific compiler options
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user