mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 20:31:19 -03:00
Build with -fno-exceptions
https://github.com/fish-shell/fish-shell/issues/664
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user