mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +00: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:
parent
3099d46736
commit
452211ebf5
1 changed files with 2 additions and 5 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue