From 5b6638ace0e615b3f271467cbf614d130b24db38 Mon Sep 17 00:00:00 2001 From: Jonathan Turner Date: Tue, 27 Sep 2016 13:13:09 -0700 Subject: [PATCH] Remove requirement to use 10.7 (fixes macOS) --- src/bootstrap/lib.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs index bcc53129f8d8e..784ca6f5cc400 100644 --- a/src/bootstrap/lib.rs +++ b/src/bootstrap/lib.rs @@ -659,12 +659,6 @@ impl Build { .env(format!("CFLAGS_{}", target), self.cflags(target).join(" ")); } - // If we're building for OSX, inform the compiler and the linker that - // we want to build a compiler runnable on 10.7 - if target.contains("apple-darwin") { - cargo.env("MACOSX_DEPLOYMENT_TARGET", "10.7"); - } - // Environment variables *required* needed throughout the build // // FIXME: should update code to not require this env var @@ -933,7 +927,6 @@ impl Build { // 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()); } // This is a hack, because newer binutils broke things on some vms/distros // (i.e., linking against unknown relocs disabled by the following flag)