Fixes an issue noticed in #1394 (comment):
This uses the wrong GCC, namely Clang
When CC=gcc
:
- on the master branch:
0+ gcc -v
1Apple clang version 14.0.3 (clang-1403.0.22.14.1)
2Target: arm64-apple-darwin22.5.0
3Thread model: posix
4InstalledDir: /Library/Developer/CommandLineTools/usr/bin
- with this PR:
0+ gcc -v
1Using built-in specs.
2COLLECT_GCC=gcc
3COLLECT_LTO_WRAPPER=/opt/homebrew/Cellar/gcc/13.1.0/bin/../libexec/gcc/aarch64-apple-darwin22/13/lto-wrapper
4Target: aarch64-apple-darwin22
5Configured with: ../configure --prefix=/opt/homebrew/opt/gcc --libdir=/opt/homebrew/opt/gcc/lib/gcc/current --disable-nls --enable-checking=release --with-gcc-major-version-only --enable-languages=c,c++,objc,obj-c++,fortran --program-suffix=-13 --with-gmp=/opt/homebrew/opt/gmp --with-mpfr=/opt/homebrew/opt/mpfr --with-mpc=/opt/homebrew/opt/libmpc --with-isl=/opt/homebrew/opt/isl --with-zstd=/opt/homebrew/opt/zstd --with-pkgversion='Homebrew GCC 13.1.0' --with-bugurl=https://github.com/Homebrew/homebrew-core/issues --with-system-zlib --build=aarch64-apple-darwin22 --with-sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk
6Thread model: posix
7Supported LTO compression algorithms: zlib zstd
8gcc version 13.1.0 (Homebrew GCC 13.1.0)