shithub: libvpx

Download patch

ref: 5ed1801f1049a91c9e6ecb40cc3003532c8cd565
parent: 2a9698c1113e209f531fc1cbf814018ab35d1123
author: Johann <johannkoenig@google.com>
date: Wed Oct 23 09:50:31 EDT 2019

add darwin18 target

Fix autodetection on MacOS 10.14. Without this it defaults
to generic-gnu

Change-Id: I19cd4a9f2fb106dff16ab5e38821a5f374add59c

--- a/README
+++ b/README
@@ -110,6 +110,7 @@
     x86_64-darwin15-gcc
     x86_64-darwin16-gcc
     x86_64-darwin17-gcc
+    x86_64-darwin18-gcc
     x86_64-iphonesimulator-gcc
     x86_64-linux-gcc
     x86_64-linux-icc
--- a/build/make/configure.sh
+++ b/build/make/configure.sh
@@ -799,6 +799,10 @@
         tgt_isa=x86_64
         tgt_os=darwin17
         ;;
+      *darwin18*)
+        tgt_isa=x86_64
+        tgt_os=darwin18
+        ;;
       x86_64*mingw32*)
         tgt_os=win64
         ;;
@@ -930,6 +934,10 @@
     *-darwin17-*)
       add_cflags  "-mmacosx-version-min=10.13"
       add_ldflags "-mmacosx-version-min=10.13"
+      ;;
+    *-darwin18-*)
+      add_cflags  "-mmacosx-version-min=10.14"
+      add_ldflags "-mmacosx-version-min=10.14"
       ;;
     *-iphonesimulator-*)
       add_cflags  "-miphoneos-version-min=${IOS_VERSION_MIN}"
--- a/configure
+++ b/configure
@@ -147,6 +147,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-iphonesimulator-gcc"
 all_platforms="${all_platforms} x86_64-linux-gcc"
 all_platforms="${all_platforms} x86_64-linux-icc"