From fe4a52077f076fff4f3024373af21600afbc6df7 Mon Sep 17 00:00:00 2001 From: Morton Jonuschat Date: Fri, 19 Jul 2013 21:09:23 +0200 Subject: [PATCH] Make libvpx compile on OSX 10.9 (Mavericks) Change-Id: Ibf2555f1c0d00e91d416eb39201a5a91df7fab27 --- build/make/configure.sh | 8 ++++++++ configure | 3 +++ 2 files changed, 11 insertions(+) diff --git a/build/make/configure.sh b/build/make/configure.sh index ee4493d2b..c7236a8a1 100755 --- a/build/make/configure.sh +++ b/build/make/configure.sh @@ -653,6 +653,10 @@ process_common_toolchain() { tgt_isa=x86_64 tgt_os=darwin12 ;; + *darwin13*) + tgt_isa=x86_64 + tgt_os=darwin13 + ;; x86_64*mingw32*) tgt_os=win64 ;; @@ -751,6 +755,10 @@ process_common_toolchain() { add_cflags "-mmacosx-version-min=10.8" add_ldflags "-mmacosx-version-min=10.8" ;; + *-darwin13-*) + add_cflags "-mmacosx-version-min=10.9" + add_ldflags "-mmacosx-version-min=10.9" + ;; esac # Handle Solaris variants. Solaris 10 needs -lposix4 diff --git a/configure b/configure index 36fc08f22..bc6439db7 100755 --- a/configure +++ b/configure @@ -115,6 +115,7 @@ all_platforms="${all_platforms} x86-darwin9-icc" all_platforms="${all_platforms} x86-darwin10-gcc" all_platforms="${all_platforms} x86-darwin11-gcc" all_platforms="${all_platforms} x86-darwin12-gcc" +all_platforms="${all_platforms} x86-darwin13-gcc" all_platforms="${all_platforms} x86-linux-gcc" all_platforms="${all_platforms} x86-linux-icc" all_platforms="${all_platforms} x86-os2-gcc" @@ -129,6 +130,7 @@ all_platforms="${all_platforms} x86_64-darwin9-gcc" all_platforms="${all_platforms} x86_64-darwin10-gcc" all_platforms="${all_platforms} x86_64-darwin11-gcc" all_platforms="${all_platforms} x86_64-darwin12-gcc" +all_platforms="${all_platforms} x86_64-darwin13-gcc" all_platforms="${all_platforms} x86_64-linux-gcc" all_platforms="${all_platforms} x86_64-linux-icc" all_platforms="${all_platforms} x86_64-solaris-gcc" @@ -142,6 +144,7 @@ all_platforms="${all_platforms} universal-darwin9-gcc" all_platforms="${all_platforms} universal-darwin10-gcc" all_platforms="${all_platforms} universal-darwin11-gcc" all_platforms="${all_platforms} universal-darwin12-gcc" +all_platforms="${all_platforms} universal-darwin13-gcc" all_platforms="${all_platforms} generic-gnu" # all_targets is a list of all targets that can be configured -- 2.40.0