ffmpeg | branch: master | rcombs <rco...@rcombs.me> | Tue Dec 21 02:34:51 2021 
-0600| [376790086046f57283491854544ea85cfd73e4ce] | committer: rcombs

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.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=376790086046f57283491854544ea85cfd73e4ce
---

 configure | 4 ++--
 1 file 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"

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to