[llvm-commits] [llvm] r144535 - /llvm/trunk/Makefile.rules
Daniel Dunbar
daniel at zuster.org
Mon Nov 14 09:17:46 PST 2011
Author: ddunbar
Date: Mon Nov 14 11:17:45 2011
New Revision: 144535
URL: http://llvm.org/viewvc/llvm-project?rev=144535&view=rev
Log:
build/Make: Switch over to using llvm-config-2 for dependencies one more (hopefully last) time, now that it also builds as a build tool.
Modified:
llvm/trunk/Makefile.rules
Modified: llvm/trunk/Makefile.rules
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/Makefile.rules?rev=144535&r1=144534&r2=144535&view=diff
==============================================================================
--- llvm/trunk/Makefile.rules (original)
+++ llvm/trunk/Makefile.rules Mon Nov 14 11:17:45 2011
@@ -527,7 +527,11 @@
LLVM_TBLGEN := $(LLVMToolDir)/llvm-tblgen$(EXEEXT)
endif
endif
-LLVM_CONFIG := $(LLVMToolDir)/llvm-config
+ifeq ($(LLVM_CROSS_COMPILING),1)
+ LLVM_CONFIG := $(BuildLLVMToolDir)/llvm-config-2$(BUILD_EXEEXT)
+else
+ LLVM_CONFIG := $(LLVMToolDir)/llvm-config-2$(EXEEXT)
+endif
ifndef LLVMLD
LLVMLD := $(LLVMToolDir)/llvm-ld$(EXEEXT)
endif
More information about the llvm-commits
mailing list