From 2d0545185a5f8c5134a80c59188da19e7d7d1b3f Mon Sep 17 00:00:00 2001 From: Jonathan Turner Date: Thu, 22 Sep 2016 13:35:14 -0700 Subject: [PATCH] Bump minimum OS X to build with Xcode 8 toolchain --- src/bootstrap/lib.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs index c5dbb2a0319f2..8ad6a227fc227 100644 --- a/src/bootstrap/lib.rs +++ b/src/bootstrap/lib.rs @@ -653,9 +653,9 @@ impl Build { } // If we're building for OSX, inform the compiler and the linker that - // we want to build a compiler runnable on 10.7 + // we want to build a compiler runnable on 10.8 if target.contains("apple-darwin") { - cargo.env("MACOSX_DEPLOYMENT_TARGET", "10.7"); + cargo.env("MACOSX_DEPLOYMENT_TARGET", "10.8"); } // Environment variables *required* needed throughout the build @@ -922,11 +922,11 @@ impl Build { // If we're compiling on OSX then we add a few unconditional flags // indicating that we want libc++ (more filled out than libstdc++) and - // we want to compile for 10.7. This way we can ensure that + // we want to compile for 10.8. This way we can ensure that // LLVM/jemalloc/etc are all properly compiled. if target.contains("apple-darwin") { base.push("-stdlib=libc++".into()); - base.push("-mmacosx-version-min=10.7".into()); + base.push("-mmacosx-version-min=10.8".into()); } // This is a hack, because newer binutils broke things on some vms/distros // (i.e., linking against unknown relocs disabled by the following flag)