[llvm-commits] [llvm-gcc-4.2] r44329 - /llvm-gcc-4.2/trunk/GNUmakefile
Devang Patel
dpatel at apple.com
Mon Nov 26 11:26:53 PST 2007
Author: dpatel
Date: Mon Nov 26 13:26:53 2007
New Revision: 44329
URL: http://llvm.org/viewvc/llvm-project?rev=44329&view=rev
Log:
Use DEVELOPER_DIR if it is set.
Modified:
llvm-gcc-4.2/trunk/GNUmakefile
Modified: llvm-gcc-4.2/trunk/GNUmakefile
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/GNUmakefile?rev=44329&r1=44328&r2=44329&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/GNUmakefile (original)
+++ llvm-gcc-4.2/trunk/GNUmakefile Mon Nov 26 13:26:53 2007
@@ -39,8 +39,12 @@
ifndef DISABLE_LLVM
ENABLE_LLVM = true
# LLVM gets installed into /usr/local, not /usr.
+ifndef DEVELOPER_DIR
PREFIX = /Developer/usr/llvm-gcc-4.2
else
+PREFIX = ${DEVELOPER_DIR}/usr/llvm-gcc-4.2
+endif
+else
ENABLE_LLVM = false
endif
More information about the llvm-commits
mailing list