summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorJohann <johannkoenig@google.com>2019-10-23 13:50:31 -0400
committerJohann <johannkoenig@google.com>2019-10-23 13:50:36 -0400
commit5ed1801f1049a91c9e6ecb40cc3003532c8cd565 (patch)
tree442fd0a1d1042f2f8638ceaa9b7717519aa47a77 /build
parent2a9698c1113e209f531fc1cbf814018ab35d1123 (diff)
downloadlibvpx-5ed1801f1049a91c9e6ecb40cc3003532c8cd565.tar
libvpx-5ed1801f1049a91c9e6ecb40cc3003532c8cd565.tar.gz
libvpx-5ed1801f1049a91c9e6ecb40cc3003532c8cd565.tar.bz2
libvpx-5ed1801f1049a91c9e6ecb40cc3003532c8cd565.zip
add darwin18 target
Fix autodetection on MacOS 10.14. Without this it defaults to generic-gnu Change-Id: I19cd4a9f2fb106dff16ab5e38821a5f374add59c
Diffstat (limited to 'build')
-rw-r--r--build/make/configure.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/build/make/configure.sh b/build/make/configure.sh
index a4f14c04e..db22b04da 100644
--- a/build/make/configure.sh
+++ b/build/make/configure.sh
@@ -799,6 +799,10 @@ process_common_toolchain() {
tgt_isa=x86_64
tgt_os=darwin17
;;
+ *darwin18*)
+ tgt_isa=x86_64
+ tgt_os=darwin18
+ ;;
x86_64*mingw32*)
tgt_os=win64
;;
@@ -931,6 +935,10 @@ process_common_toolchain() {
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}"
add_ldflags "-miphoneos-version-min=${IOS_VERSION_MIN}"