aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 966fd3fd..3552c5c3 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