configure: ensure we use the macOS SDK's metal compiler by default

Apparently on some OS and Xcode versions this can select an iOS SDK,
which in turn may fail on the affected versions.
This commit is contained in:
rcombs 2021-12-21 02:34:51 -06:00
parent 2d16182e7d
commit 3767900860
1 changed files with 2 additions and 2 deletions

4
configure vendored
View File

@ -3844,8 +3844,8 @@ host_cc_default="gcc"
doxygen_default="doxygen"
install="install"
ln_s_default="ln -s -f"
metalcc_default="xcrun metal"
metallib_default="xcrun metallib"
metalcc_default="xcrun -sdk macosx metal"
metallib_default="xcrun -sdk macosx metallib"
nm_default="nm -g"
pkg_config_default=pkg-config
ranlib_default="ranlib"