From 452211ebf549ac36d1cd0f1e6774a8b42e73ebe8 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Sun, 17 Dec 2017 14:53:23 -0800 Subject: [PATCH] Disable exception handling in autotools build Now that muparser no longer relies on exceptions, we can disable them again. --- configure.ac | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index 9fa0b5954..c33107b53 100644 --- a/configure.ac +++ b/configure.ac @@ -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