stdenv: use Xcode SDK on PPC
The system libraries won't have an Intel slice on this platform.
This commit is contained in:
1 parent
0fefc8e622
commit
5788222022
1 file changed
+1
-1
@@ -200,7 +200,7 @@ module Stdenv
|
||||
self["CPATH"] = "#{HOMEBREW_PREFIX}/include"
|
||||
prepend "LDFLAGS", "-L#{HOMEBREW_PREFIX}/lib"
|
||||
|
||||
if (sdk = MacOS.sdk_path(version)) && !MacOS::CLT.installed?
|
||||
if (sdk = MacOS.sdk_path(version)) && !MacOS::CLT.installed? || Hardware::CPU.ppc?
|
||||
# Extra setup to support Xcode 4.3+ without CLT.
|
||||
self["SDKROOT"] = sdk
|
||||
# Tell clang/gcc where system include's are:
|
||||
|
||||
Reference in new issue
Block a user