Skip to content

Commit

Permalink
Even more Apple style build horribleness.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79299 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
Evan Cheng committed Aug 18, 2009
1 parent f14d919 commit 5215116
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions utils/buildit/build_llvm
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 5215116

Please sign in to comment.