diff options
author | Johann <johannkoenig@google.com> | 2021-11-17 06:02:15 +0900 |
---|---|---|
committer | Johann <johannkoenig@google.com> | 2021-11-17 06:05:34 +0900 |
commit | c59de7bc914d40305c1a7b066b9965d809d81533 (patch) | |
tree | ac34d45091454c398b41c10b90a3a8ecef45b8d4 /build/make/configure.sh | |
parent | 2d2637547d7ee5f89cb1f6bfd1956b5ad8e29b77 (diff) | |
download | libvpx-c59de7bc914d40305c1a7b066b9965d809d81533.tar libvpx-c59de7bc914d40305c1a7b066b9965d809d81533.tar.gz libvpx-c59de7bc914d40305c1a7b066b9965d809d81533.tar.bz2 libvpx-c59de7bc914d40305c1a7b066b9965d809d81533.zip |
MacOS 12 is darwin21
Remove -mmacosx-version-min. The library does not use
any calls which are affected by the platform version.
There is also no version 10.16 as it went from 10.15
to 11 and now to 12.
At some point it may be good to clarify that the bare
-darwin- target is for iOS and the -darwinN- targets
are for macOS.
Change-Id: I2fd5f7cae2637905acf3ab77bfddfbe367abbb68
Diffstat (limited to 'build/make/configure.sh')
-rw-r--r-- | build/make/configure.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/build/make/configure.sh b/build/make/configure.sh index 81d30a16c..b24e79a0d 100644 --- a/build/make/configure.sh +++ b/build/make/configure.sh @@ -774,7 +774,7 @@ process_common_toolchain() { tgt_isa=x86_64 tgt_os=`echo $gcctarget | sed 's/.*\(darwin1[0-9]\).*/\1/'` ;; - *darwin20*) + *darwin2[0-1]*) tgt_isa=`uname -m` tgt_os=`echo $gcctarget | sed 's/.*\(darwin2[0-9]\).*/\1/'` ;; @@ -918,9 +918,9 @@ process_common_toolchain() { add_cflags "-mmacosx-version-min=10.15" add_ldflags "-mmacosx-version-min=10.15" ;; - *-darwin20-*) - add_cflags "-mmacosx-version-min=10.16 -arch ${toolchain%%-*}" - add_ldflags "-mmacosx-version-min=10.16 -arch ${toolchain%%-*}" + *-darwin2[0-1]-*) + add_cflags "-arch ${toolchain%%-*}" + add_ldflags "-arch ${toolchain%%-*}" ;; *-iphonesimulator-*) add_cflags "-miphoneos-version-min=${IOS_VERSION_MIN}" |