[llvm-commits] [llvm-gcc-4.2] r79169 - /llvm-gcc-4.2/trunk/build_gcc
Evan Cheng
evan.cheng at apple.com
Sat Aug 15 20:11:27 PDT 2009
Author: evancheng
Date: Sat Aug 15 22:11:26 2009
New Revision: 79169
URL: http://llvm.org/viewvc/llvm-project?rev=79169&view=rev
Log:
When building for iPhoneOS platform, prefix LLVMCORE_PATH with platform path.
Modified:
llvm-gcc-4.2/trunk/build_gcc
Modified: llvm-gcc-4.2/trunk/build_gcc
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/build_gcc?rev=79169&r1=79168&r2=79169&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/build_gcc (original)
+++ llvm-gcc-4.2/trunk/build_gcc Sat Aug 15 22:11:26 2009
@@ -133,6 +133,11 @@
# If the Phone platform is available, use the ARM tools there, else try /
if [ -d $ARM_PLATFORM ]; then
ARM_TOOLROOT=$ARM_PLATFORM/Developer
+ # If it's being built for iPhoneOS, assume the llvmCore bits are under
+ # iPhoneOS platform directory.
+ if [ "x$RC_ProjectName" = "xllvmgcc42_Embedded" ]; then
+ LLVMCORE_PATH="${ARM_PLATFORM}${LLVMCORE_PATH}"
+ fi
else
ARM_TOOLROOT=/
fi
More information about the llvm-commits
mailing list