]> granicus.if.org Git - libvpx/commitdiff
auto-detect darwin19
authorJohann <johannkoenig@google.com>
Tue, 31 Mar 2020 06:52:30 +0000 (15:52 +0900)
committerJohann <johannkoenig@google.com>
Tue, 31 Mar 2020 06:52:30 +0000 (15:52 +0900)
Change-Id: I3912c79d0f0f7a65fc753ae29bb10cdcac76878a

README
build/make/configure.sh
configure

diff --git a/README b/README
index fd3337daad1fbc3c0123c9077e581d87121c55f3..45beda71491c7746eb3e6a5f95fa88b62356f539 100644 (file)
--- a/README
+++ b/README
@@ -112,6 +112,7 @@ COMPILING THE APPLICATIONS/LIBRARIES:
     x86_64-darwin16-gcc
     x86_64-darwin17-gcc
     x86_64-darwin18-gcc
+    x86_64-darwin19-gcc
     x86_64-iphonesimulator-gcc
     x86_64-linux-gcc
     x86_64-linux-icc
index d05d0fa12a64b9314a9133aa9d274e1efc4b8744..206b54f775c1c501180d3249ef99d99018e982c5 100644 (file)
@@ -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}"
index f470cbe852320caafe882d2e954e5dd344996407..41c3c6fcad7d3eb415de61c7728476316ad03efc 100755 (executable)
--- a/configure
+++ b/configure
@@ -149,6 +149,7 @@ all_platforms="${all_platforms} x86_64-darwin15-gcc"
 all_platforms="${all_platforms} x86_64-darwin16-gcc"
 all_platforms="${all_platforms} x86_64-darwin17-gcc"
 all_platforms="${all_platforms} x86_64-darwin18-gcc"
+all_platforms="${all_platforms} x86_64-darwin19-gcc"
 all_platforms="${all_platforms} x86_64-iphonesimulator-gcc"
 all_platforms="${all_platforms} x86_64-linux-gcc"
 all_platforms="${all_platforms} x86_64-linux-icc"