mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-23 04:51:16 -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
|
||||
|
||||
|
||||
# Fish does not use exceptions itself. However the MuParser library does so we
|
||||
# need to enable support for them and pay the cost of larger code. Note:
|
||||
# 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"
|
||||
# Fish does not use exceptions.
|
||||
CXXFLAGS="$CXXFLAGS -fno-exceptions"
|
||||
|
||||
#
|
||||
# Set some warning flags
|
||||
|
||||
Reference in New Issue
Block a user