diff options
author | Jim Grosbach <grosbach@apple.com> | 2009-10-31 18:00:10 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2009-10-31 18:00:10 +0000 |
commit | 58c47236626a51620103d83ed433a78679ad869b (patch) | |
tree | ab8d525d9f8ce0d092fea148fa5ad201368cbf75 /utils/buildit | |
parent | 28f3d34a9bf9060b68abef97845cf89bc6e2c403 (diff) |
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
Diffstat (limited to 'utils/buildit')
-rwxr-xr-x | utils/buildit/build_llvm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/buildit/build_llvm b/utils/buildit/build_llvm index 0637177061..6ca0fa26e7 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" |