The universal SDKROOT should only be assigned when hosted. Otherwise the

SDKROOT can refer to the target when we're building for the host.

llvm-svn: 85672
This commit is contained in:
Jim Grosbach 2009-10-31 18:00:10 +00:00
parent a742b8f94f
commit 7a949d8b05
1 changed files with 1 additions and 0 deletions

View File

@ -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"