The universal SDKROOT should only be assigned when hosted. Otherwise the
authorJim Grosbach <grosbach@apple.com>
Sat, 31 Oct 2009 18:00:10 +0000 (18:00 +0000)
committerJim Grosbach <grosbach@apple.com>
Sat, 31 Oct 2009 18:00:10 +0000 (18:00 +0000)
SDKROOT can refer to the target when we're building for the host.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85672 91177308-0d34-0410-b5e6-96231b3b80d8

utils/buildit/build_llvm

index 06371770614dcb41ee98b2b113f9531f5248ac51..6ca0fa26e783633e95c9623f70ef7b6dafaea4aa 100755 (executable)
@@ -62,6 +62,7 @@ if [ "x$RC_ProjectName" = "xllvmCore_Embedded" ]; then
 elif [ "x$RC_ProjectName" = "xllvmCore_EmbeddedHosted" ]; then
     DT_HOME=$DEST_DIR/usr
     DEST_ROOT="/Developer$DEST_ROOT"
+    HOST_SDKROOT=$SDKROOT
 else
     DT_HOME=$DEST_DIR/Developer/usr
     DEST_ROOT="/Developer$DEST_ROOT"