diff --git a/configure.ac b/configure.ac index 966fd3fdf..3552c5c36 100644 --- a/configure.ac +++ b/configure.ac @@ -220,6 +220,10 @@ if test "$GCC" = yes; then fi fi + # fish does not use exceptions + # Disabling exceptions saves about 20% (!) of the compiled code size + CXXFLAGS="$CXXFLAGS -fno-exceptions" + # # -Wall is there to keep me on my toes