Skip to content

Commit 5b6638a

Browse files
author
Jonathan Turner
committed
Remove requirement to use 10.7 (fixes macOS)
1 parent ea65ab6 commit 5b6638a

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/bootstrap/lib.rs

-7
Original file line numberDiff line numberDiff line change
@@ -659,12 +659,6 @@ impl Build {
659659
.env(format!("CFLAGS_{}", target), self.cflags(target).join(" "));
660660
}
661661

662-
// If we're building for OSX, inform the compiler and the linker that
663-
// we want to build a compiler runnable on 10.7
664-
if target.contains("apple-darwin") {
665-
cargo.env("MACOSX_DEPLOYMENT_TARGET", "10.7");
666-
}
667-
668662
// Environment variables *required* needed throughout the build
669663
//
670664
// FIXME: should update code to not require this env var
@@ -933,7 +927,6 @@ impl Build {
933927
// LLVM/jemalloc/etc are all properly compiled.
934928
if target.contains("apple-darwin") {
935929
base.push("-stdlib=libc++".into());
936-
base.push("-mmacosx-version-min=10.7".into());
937930
}
938931
// This is a hack, because newer binutils broke things on some vms/distros
939932
// (i.e., linking against unknown relocs disabled by the following flag)

0 commit comments

Comments
 (0)