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