diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2013-04-15 14:35:07 -0700 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2013-04-19 10:24:33 -0700 |
commit | f9343103377f929ea6b1fdf7311efdee00dbdfdd (patch) | |
tree | 26d9c76b5c66a3e82d0c1492e7df21e5d92a189d /configure.ac | |
parent | afe293c20a567a0ed82bb6b43d445c329352b8ad (diff) |
Build with -fno-exceptions
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
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 |