Apple Clang 15 does not support -Xclang -internal-isystem
anymore. On both x86_64
and arm64
platforms, the following check: https://github.com/bitcoin/bitcoin/blob/65c05db660b2ca1d0076b0d8573a6760b3228068/configure.ac#L742-L744
fails with error: unknown argument: '-internal-isystem/usr/local/include'
.
It makes the --enable-suppress-external-warnings
option not working for dependency packages installed by Homebrew and linked to /usr/local
, which happens for all non-keg packages on x86_64
. There is no such an effect on arm64
.
For a related discussion refer to #29165 (review).