[llvm-commits] [llvm-gcc-4.0] r44330 - /llvm-gcc-4.0/trunk/GNUmakefile
Devang Patel
dpatel at apple.com
Mon Nov 26 11:28:19 PST 2007
Author: dpatel
Date: Mon Nov 26 13:28:19 2007
New Revision: 44330
URL: http://llvm.org/viewvc/llvm-project?rev=44330&view=rev
Log:
Use DEVELOPER_DIR if it is set.
Modified:
llvm-gcc-4.0/trunk/GNUmakefile
Modified: llvm-gcc-4.0/trunk/GNUmakefile
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.0/trunk/GNUmakefile?rev=44330&r1=44329&r2=44330&view=diff
==============================================================================
--- llvm-gcc-4.0/trunk/GNUmakefile (original)
+++ llvm-gcc-4.0/trunk/GNUmakefile Mon Nov 26 13:28:19 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.0
else
+PREFIX = ${DEVELOPER_DIR}/usr/lvm-gcc-4.0
+endif
+else
ENABLE_LLVM = false
endif
More information about the llvm-commits
mailing list