Disable exception handling in autotools build

Now that muparser no longer relies on exceptions, we can disable them
again.
This commit is contained in:
ridiculousfish 2017-12-17 14:53:23 -08:00
parent 3099d46736
commit 452211ebf5

View file

@ -212,11 +212,8 @@ AS_IF([test "$use_doxygen" != "no"],
AC_SYS_LARGEFILE AC_SYS_LARGEFILE
# Fish does not use exceptions itself. However the MuParser library does so we # Fish does not use exceptions.
# need to enable support for them and pay the cost of larger code. Note: CXXFLAGS="$CXXFLAGS -fno-exceptions"
# Enabling exceptions increases the compiled code size but to avoid that we
# would have to maintain our own patches to the MuParser code.
#CXXFLAGS="$CXXFLAGS -fno-exceptions"
# #
# Set some warning flags # Set some warning flags