shithub: libvpx

Download patch

ref: 2392fe53ab3033fe5c679514dce448f55843fd51
parent: ffc179d8bfb836d7b39aaf8595a9051b25a7b437
parent: 723fca7dd122c94e209864316e01535a23dc6d09
author: James Zern <jzern@google.com>
date: Fri Dec 11 14:58:17 EST 2020

Merge "configure: add darwin20 cross-compile support"

--- a/build/make/configure.sh
+++ b/build/make/configure.sh
@@ -919,8 +919,8 @@
       add_ldflags "-mmacosx-version-min=10.15"
       ;;
     *-darwin20-*)
-      add_cflags  "-mmacosx-version-min=10.16"
-      add_ldflags "-mmacosx-version-min=10.16"
+      add_cflags  "-mmacosx-version-min=10.16 -arch ${toolchain%%-*}"
+      add_ldflags "-mmacosx-version-min=10.16 -arch ${toolchain%%-*}"
       ;;
     *-iphonesimulator-*)
       add_cflags  "-miphoneos-version-min=${IOS_VERSION_MIN}"