summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorrcombs <rcombs@rcombs.me>2021-12-21 02:34:51 -0600
committerrcombs <rcombs@rcombs.me>2021-12-22 18:43:34 -0600
commit376790086046f57283491854544ea85cfd73e4ce (patch)
tree4457447a9b1983dab0640363c15e037e1499aa57 /configure
parent2d16182e7d99a77634f2518966beb8c41b7c7978 (diff)
downloadffmpeg-376790086046f57283491854544ea85cfd73e4ce.tar.gz
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.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index df7f5df4d9..93c1fb1871 100755
--- a/configure
+++ b/configure
@@ -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"