[tor-commits] [tor-browser-build/master] Bug 30323: Bump MACOSX_DEPLOYMENT_TARGET

gk at torproject.org gk at torproject.org
Thu Aug 22 06:42:33 UTC 2019


commit 3c36d79abdb6b56c67ff42f844c6f8a2d6dbce3c
Author: Georg Koppen <gk at torproject.org>
Date:   Mon Aug 19 18:19:43 2019 +0000

    Bug 30323: Bump MACOSX_DEPLOYMENT_TARGET
---
 projects/rust/build       | 4 ++--
 projects/snowflake/build  | 6 +++---
 projects/snowflake/config | 1 +
 projects/webrtc/build     | 4 ++--
 4 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/projects/rust/build b/projects/rust/build
index 633604c..592c6ea 100644
--- a/projects/rust/build
+++ b/projects/rust/build
@@ -17,10 +17,10 @@ export PATH="$distdir-rust-old/bin:$PATH"
   # (i.e. Linux).
   unset CC
   unset LDFLAGS
-  # Target 10.7 as our toolchain does. Without this explicit declaration Bad
+  # Target 10.9 as our toolchain does. Without this explicit declaration Bad
   # Things will happen, as a lot of dependent code then assumes that the
   # official macOS target, x86_64-apple-darwin, essentially means 10.4.
-  export MACOSX_DEPLOYMENT_TARGET=10.7
+  export MACOSX_DEPLOYMENT_TARGET=10.9
   # The Rust target for macOS is x86_64-apple-darwin, yet our toolchain is built
   # for x86_64-apple-darwin11. We can't mix those targets as clang gets confused
   # that way. Changing the Rust target to x86_64-apple-darwin11 would require a
diff --git a/projects/snowflake/build b/projects/snowflake/build
index daeb185..ae0ebea 100644
--- a/projects/snowflake/build
+++ b/projects/snowflake/build
@@ -16,9 +16,9 @@ distdir=/var/tmp/dist/[% project %]
 mkdir -p $PTDIR $DOCSDIR
 [% IF c("var/osx") %]
   export CGO_ENABLED=1
-  export CGO_CFLAGS="[% c("var/FLAGS") %] -mmacosx-version-min=10.7"
-  export CGO_CXXFLAGS="[% c("var/FLAGS") %] -stdlib=libc++ -mmacosx-version-min=10.7"
-  export CGO_LDFLAGS="[% c("var/FLAGS") %] -stdlib=libc++ -mmacosx-version-min=10.7"
+  export CGO_CFLAGS="[% c("var/FLAGS") %] -mmacosx-version-min=10.9"
+  export CGO_CXXFLAGS="[% c("var/FLAGS") %] -stdlib=libc++ -mmacosx-version-min=10.9"
+  export CGO_LDFLAGS="[% c("var/FLAGS") %] -stdlib=libc++ -mmacosx-version-min=10.9"
   export CC="$clangdir/bin/clang"
   export CXX="$clangdir/bin/clang++"
 [% END %]
diff --git a/projects/snowflake/config b/projects/snowflake/config
index 468b704..cef0930 100644
--- a/projects/snowflake/config
+++ b/projects/snowflake/config
@@ -22,6 +22,7 @@ targets:
   osx-x86_64:
     var:
       arch_deps:
+        - pkg-config
         - faketime
 
 input_files:
diff --git a/projects/webrtc/build b/projects/webrtc/build
index ecbccb3..e84a0b1 100644
--- a/projects/webrtc/build
+++ b/projects/webrtc/build
@@ -66,7 +66,7 @@ print("$sysrootdir")
 print("10.11")
 EOF
   cat <<EOF > build/config/mac/sdk_info.py
-print("machine_os_build=\"10.7\"")
+print("machine_os_build=\"10.9\"")
 print("sdk_build=\"10.11\"")
 print("sdk_path=\"$sysrootdir\"")
 print("sdk_platform_path=\"$sysrootdir\"")
@@ -115,7 +115,7 @@ GN_ARGS+=" use_custom_libcxx=false"
   #GN_ARGS+=" rtc_include_tests=false"
 [% END -%]
 [% IF c("var/osx") -%]
-  GN_ARGS+=" target_os=\"mac\" target_cpu=\"x64\" mac_deployment_target=\"10.7\""
+  GN_ARGS+=" target_os=\"mac\" target_cpu=\"x64\" mac_deployment_target=\"10.9\""
   GN_ARGS+=" clang_use_chrome_plugins=false"
   GN_ARGS+=" clang_base_path=\"$clangdir\""
   # No lld in our toolchain currently.





More information about the tor-commits mailing list