diff options
author | Johann <johannkoenig@google.com> | 2020-03-31 15:52:30 +0900 |
---|---|---|
committer | Johann <johannkoenig@google.com> | 2020-03-31 15:52:30 +0900 |
commit | 3ef630a3571a7b75e563a144bc957720b007c22a (patch) | |
tree | a39379d54777f4e940b0748f343bbde5ae8d93da /build | |
parent | 4b0422ad096c64bef9d7f972c092f5090510bdc1 (diff) | |
download | libvpx-3ef630a3571a7b75e563a144bc957720b007c22a.tar.gz |
auto-detect darwin19
Change-Id: I3912c79d0f0f7a65fc753ae29bb10cdcac76878a
Diffstat (limited to 'build')
-rw-r--r-- | build/make/configure.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/build/make/configure.sh b/build/make/configure.sh index d05d0fa12..206b54f77 100644 --- a/build/make/configure.sh +++ b/build/make/configure.sh @@ -767,9 +767,9 @@ process_common_toolchain() { # detect tgt_os case "$gcctarget" in - *darwin1[0-8]*) + *darwin1[0-9]*) tgt_isa=x86_64 - tgt_os=`echo $gcctarget | sed 's/.*\(darwin1[0-8]\).*/\1/'` + tgt_os=`echo $gcctarget | sed 's/.*\(darwin1[0-9]\).*/\1/'` ;; x86_64*mingw32*) tgt_os=win64 @@ -907,6 +907,10 @@ process_common_toolchain() { add_cflags "-mmacosx-version-min=10.14" add_ldflags "-mmacosx-version-min=10.14" ;; + *-darwin19-*) + add_cflags "-mmacosx-version-min=10.15" + add_ldflags "-mmacosx-version-min=10.15" + ;; *-iphonesimulator-*) add_cflags "-miphoneos-version-min=${IOS_VERSION_MIN}" add_ldflags "-miphoneos-version-min=${IOS_VERSION_MIN}" |