mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 03:03:57 +08:00
1390112b46
fish wants to build with -mmacosx-version-min=10.9. This is important because it ensures that we do not use functions or linker features which which are not available on 10.9. However this collides with the fact that fish also prefers to use a pcre2 package installed on the system, which is typically built for that system. Mac ld will (rightly) complain when it sees a 10.9-targeted binary linking a 10.15-targeted dylib. This is an annoying warning that gets emitted on every build. We could fix this either having Mac builds prefer the vendored PCRE2 by default, or by having debug builds target the system version. But we want to continue to default to system PCRE2 and we don't want to risk losing compatibility with older Mac versions. So we will just suppress all linker warnings in Mac debug builds. |
||
---|---|---|
.. | ||
checks | ||
Benchmark.cmake | ||
CheckIncludeFiles.cmake | ||
ConfigureChecks.cmake | ||
Docs.cmake | ||
gettext.cmake | ||
Install.cmake | ||
Mac.cmake | ||
MacApp.cmake | ||
PCRE2.cmake | ||
Tests.cmake | ||
Version.cmake |