From: Jim Grosbach Date: Sat, 31 Oct 2009 18:00:10 +0000 (+0000) Subject: The universal SDKROOT should only be assigned when hosted. Otherwise the X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=58c47236626a51620103d83ed433a78679ad869b;p=oota-llvm.git The universal SDKROOT should only be assigned when hosted. Otherwise the 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 --- diff --git a/utils/buildit/build_llvm b/utils/buildit/build_llvm index 06371770614..6ca0fa26e78 100755 --- a/utils/buildit/build_llvm +++ b/utils/buildit/build_llvm @@ -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"