summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2020-12-11 19:58:17 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2020-12-11 19:58:17 +0000
commit2392fe53ab3033fe5c679514dce448f55843fd51 (patch)
tree586c65d5fb1c6b510f35fcc55dacfe6a9298dc7f
parentffc179d8bfb836d7b39aaf8595a9051b25a7b437 (diff)
parent723fca7dd122c94e209864316e01535a23dc6d09 (diff)
downloadlibvpx-2392fe53ab3033fe5c679514dce448f55843fd51.tar.gz
libvpx-2392fe53ab3033fe5c679514dce448f55843fd51.tar.bz2
libvpx-2392fe53ab3033fe5c679514dce448f55843fd51.zip
Merge "configure: add darwin20 cross-compile support"
-rw-r--r--build/make/configure.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/make/configure.sh b/build/make/configure.sh
index 91a64b504..c4e938fc7 100644
--- a/build/make/configure.sh
+++ b/build/make/configure.sh
@@ -919,8 +919,8 @@ process_common_toolchain() {
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}"