mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-30 11:21:15 -03:00
Disable exception handling in autotools build
Now that muparser no longer relies on exceptions, we can disable them again.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user