From 45e138ffc6059570421dc203c2e69ba5214cdfaa Mon Sep 17 00:00:00 2001 From: ilovezfs Date: Wed, 23 Mar 2016 04:34:21 -0700 Subject: Xcode 7 MACOSX_DEPLOYMENT_TARGET and SDK fixes SDK 10.10 isn't something that exists for Xcode 7, so stop looking for it and rely on MACOSX_DEPLOYMENT_TARGET instead. See PR Homebrew/homebrew#50137 Yosemite build failure Closes Homebrew/homebrew#50355. Signed-off-by: ilovezfs --- Library/Homebrew/extend/ENV/super.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Homebrew/extend') diff --git a/Library/Homebrew/extend/ENV/super.rb b/Library/Homebrew/extend/ENV/super.rb index e4eb86cdf..747a76956 100644 --- a/Library/Homebrew/extend/ENV/super.rb +++ b/Library/Homebrew/extend/ENV/super.rb @@ -67,7 +67,7 @@ module Superenv self["HOMEBREW_INCLUDE_PATHS"] = determine_include_paths self["HOMEBREW_LIBRARY_PATHS"] = determine_library_paths - if MacOS::Xcode.without_clt? + if MacOS::Xcode.without_clt? || (MacOS::Xcode.installed? && MacOS::Xcode.version.to_i >= 7) self["MACOSX_DEPLOYMENT_TARGET"] = MacOS.version.to_s self["SDKROOT"] = MacOS.sdk_path end -- cgit v1.2.3