Add EFL_CXX_NO_EXCEPTIONS flag to compilation.

This commit is contained in:
Savio Sena 2014-09-16 19:23:19 -03:00
parent e60ba2ee1f
commit ab1945dc31
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ AC_MSG_CHECKING([whether the compiler supports -fno-rtti -fno-exceptions])
AC_MSG_RESULT([${have_cxx_flags}]) AC_MSG_RESULT([${have_cxx_flags}])
CXXFLAGS="${CXXFLAGS_save}" CXXFLAGS="${CXXFLAGS_save}"
if test "x${have_cxx_flags}" = "xyes" ; then if test "x${have_cxx_flags}" = "xyes" ; then
EXPEDITE_CXXFLAGS="-fno-rtti -fno-exceptions" EXPEDITE_CXXFLAGS="-fno-rtti -fno-exceptions -DEFL_CXX_NO_EXCEPTIONS"
fi fi
CXXFLAGS="${CXXFLAGS} -std=c++11" CXXFLAGS="${CXXFLAGS} -std=c++11"