mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-01-31 15:25:15 +08:00
Build with -fno-exceptions
https://github.com/fish-shell/fish-shell/issues/664
This commit is contained in:
parent
afe293c20a
commit
f934310337
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user