summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-08-18 00:56:17 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-08-18 00:56:17 +0000
commit52151168bce8c335466b42047846fcfc4712a020 (patch)
tree9d1e3453d837e0983107e2af0577bdf5d9d88a63 /utils
parentf14d919742eee0dd2bb0808bd5ed6e1da7d4a23f (diff)
downloadllvm-52151168bce8c335466b42047846fcfc4712a020.tar.gz
llvm-52151168bce8c335466b42047846fcfc4712a020.tar.bz2
llvm-52151168bce8c335466b42047846fcfc4712a020.tar.xz
Even more Apple style build horribleness.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79299 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rwxr-xr-xutils/buildit/build_llvm15
1 files changed, 12 insertions, 3 deletions
diff --git a/utils/buildit/build_llvm b/utils/buildit/build_llvm
index e574ff76ca..9b2d8d3a0c 100755
--- a/utils/buildit/build_llvm
+++ b/utils/buildit/build_llvm
@@ -62,10 +62,19 @@ if [ ! -x $CC ] ; then unset CC ; fi
export CXX=/Developer/usr/bin/llvm-g++
if [ ! -x $CXX ] ; then unset CXX ; fi
-DT_HOME=$DEST_DIR/Developer/usr
-DEST_ROOT="/Developer$DEST_ROOT"
+if [ "x$RC_ProjectName" = "xllvmCore_Embedded" ]; then
+ DT_HOME=$DEST_DIR/Developer/Platforms/iPhoneOS.platform/Developer/usr
+ DEST_ROOT="/Developer/Platforms/iPhoneOS.platform/Developer$DEST_ROOT"
+else
+ DT_HOME=$DEST_DIR/Developer/usr
+ DEST_ROOT="/Developer$DEST_ROOT"
+fi
if [ "x$DEVELOPER_BIN" != "x" ]; then
- DT_HOME=$DEST_DIR/$DEVELOPER_DIR/usr
+ if [ "x$RC_ProjectName" = "xllvmCore_Embedded" ]; then
+ DT_HOME=$DEST_DIR/Developer/Platforms/iPhoneOS.platform/$DEVELOPER_DIR/usr
+ else
+ DT_HOME=$DEST_DIR/$DEVELOPER_DIR/usr
+ fi
DEST_ROOT="/$DEVELOPER_DIR$DEST_ROOT"
fi