mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-22 10:01:54 +08:00

The compiler flag `-Werror=unguarded_availability` was hard-coded for macOS, but is not supported by GCC on macOS 10.10 (Yosemite). Test for support with CHECK_CXX_COMPILER_FLAG before forcing it.