build_clang: target macOS 10.9. draft
authorRalph Giles <giles@mozilla.com>
Mon, 05 Jun 2017 11:39:22 -0700
changeset 604494 5590b32d4a36ac1bf07a8b2de89ecfe765d977fb
parent 604493 8aa3af14f878d69153b2e88c71d8f95781abbebd
child 604495 8707bbacca581bfb2f1f20e9a3c2b33616925c49
push id67095
push userbmo:giles@thaumas.net
push dateThu, 06 Jul 2017 01:27:02 +0000
milestone56.0a1
build_clang: target macOS 10.9. This is required to build clang 3.9.1 and later. MozReview-Commit-ID: B4KfY4hYy7v
build/build-clang/build-clang.py
--- a/build/build-clang/build-clang.py
+++ b/build/build-clang/build-clang.py
@@ -365,17 +365,17 @@ if __name__ == "__main__":
     llvm_source_dir = source_dir + "/llvm"
     clang_source_dir = source_dir + "/clang"
     extra_source_dir = source_dir + "/extra"
     compiler_rt_source_dir = source_dir + "/compiler-rt"
     libcxx_source_dir = source_dir + "/libcxx"
     libcxxabi_source_dir = source_dir + "/libcxxabi"
 
     if is_darwin():
-        os.environ['MACOSX_DEPLOYMENT_TARGET'] = '10.7'
+        os.environ['MACOSX_DEPLOYMENT_TARGET'] = '10.9'
 
     exe_ext = ""
     if is_windows():
         exe_ext = ".exe"
 
     cc_name = "clang"
     cxx_name = "clang++"
     if is_windows():