[llvm-commits] [llvm-gcc-4.2] r147183 - /llvm-gcc-4.2/trunk/build_gcc

Bob Wilson bob.wilson at apple.com
Thu Dec 22 14:02:26 PST 2011


Author: bwilson
Date: Thu Dec 22 16:02:26 2011
New Revision: 147183

URL: http://llvm.org/viewvc/llvm-project?rev=147183&view=rev
Log:
Don't install symlinks in /usr/bin if not installing into /Developer.
<rdar://problem/10359031>

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=147183&r1=147182&r2=147183&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/build_gcc (original)
+++ llvm-gcc-4.2/trunk/build_gcc Thu Dec 22 16:02:26 2011
@@ -760,6 +760,10 @@
 if [ "x$LLVM_BUILT_ROOTS" != "x" ]; then
     DISABLE_USR_LINKS=1
 fi
+# Set DISABLE_USR_LINKS if DEST_ROOT is not in /Developer.
+if [ "x$DEST_ROOT" != "x/Developer/usr/llvm-gcc-4.2" ]; then
+    DISABLE_USR_LINKS=1
+fi
 # Roots built by B&I, need to include sym links in /usr/bin and /usr/lib
 # because B&I sets XCODE_DEVELOPER_USR_PATH=/.  Otherwise, we don't want those
 # sym links.





More information about the llvm-commits mailing list