forked from OSchip/llvm-project
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:
parent
a742b8f94f
commit
7a949d8b05
|
@ -62,6 +62,7 @@ if [ "x$RC_ProjectName" = "xllvmCore_Embedded" ]; then
|
||||||
elif [ "x$RC_ProjectName" = "xllvmCore_EmbeddedHosted" ]; then
|
elif [ "x$RC_ProjectName" = "xllvmCore_EmbeddedHosted" ]; then
|
||||||
DT_HOME=$DEST_DIR/usr
|
DT_HOME=$DEST_DIR/usr
|
||||||
DEST_ROOT="/Developer$DEST_ROOT"
|
DEST_ROOT="/Developer$DEST_ROOT"
|
||||||
|
HOST_SDKROOT=$SDKROOT
|
||||||
else
|
else
|
||||||
DT_HOME=$DEST_DIR/Developer/usr
|
DT_HOME=$DEST_DIR/Developer/usr
|
||||||
DEST_ROOT="/Developer$DEST_ROOT"
|
DEST_ROOT="/Developer$DEST_ROOT"
|
||||||
|
|
Loading…
Reference in New Issue