From f9343103377f929ea6b1fdf7311efdee00dbdfdd Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Mon, 15 Apr 2013 14:35:07 -0700 Subject: [PATCH] Build with -fno-exceptions https://github.com/fish-shell/fish-shell/issues/664 --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) 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