diff options
author | Gregor Jasny <gjasny@googlemail.com> | 2020-12-11 08:00:07 +0100 |
---|---|---|
committer | James Zern <jzern@google.com> | 2020-12-11 10:17:18 -0800 |
commit | 723fca7dd122c94e209864316e01535a23dc6d09 (patch) | |
tree | ebfa3fc7739958f1e55aac1210269291423cbee6 /build/make/configure.sh | |
parent | ebac57ce9250aac85701f5258ec54f9cf9bf14a8 (diff) | |
download | libvpx-723fca7dd122c94e209864316e01535a23dc6d09.tar libvpx-723fca7dd122c94e209864316e01535a23dc6d09.tar.gz libvpx-723fca7dd122c94e209864316e01535a23dc6d09.tar.bz2 libvpx-723fca7dd122c94e209864316e01535a23dc6d09.zip |
configure: add darwin20 cross-compile support
Change-Id: I91c0e832a6e76172397e97413329fd43edc81c78
Diffstat (limited to 'build/make/configure.sh')
-rw-r--r-- | build/make/configure.sh | 4 |
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}" |