Build with -fno-exceptions

https://github.com/fish-shell/fish-shell/issues/664
This commit is contained in:
ridiculousfish 2013-04-15 14:35:07 -07:00
parent afe293c20a
commit f934310337

View File

@ -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