[llvm-commits] CVS: llvm/Makefile.rules

Reid Spencer reid at x10sys.com
Sun Feb 4 14:12:41 PST 2007



Changes in directory llvm:

Makefile.rules updated: 1.420 -> 1.421
---
Log message:

When using LINK_COMPONENTS, append the components to the end of the 
libraries linked with. This permits a project to still use USEDLIBS to 
specify its own libraries in conjunction with LINK_COMPONENTS. llvm-stacker
needs this after libLLVMTransforms.a went away.


---
Diffs of the changes:  (+2 -2)

 Makefile.rules |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/Makefile.rules
diff -u llvm/Makefile.rules:1.420 llvm/Makefile.rules:1.421
--- llvm/Makefile.rules:1.420	Fri Jan 26 07:34:50 2007
+++ llvm/Makefile.rules	Sun Feb  4 16:12:25 2007
@@ -681,8 +681,8 @@
         
 $(ToolDir)/$(strip $(TOOLNAME))$(EXEEXT): $(LLVM_CONFIG)
 
-ProjLibsOptions = $(shell $(LLVM_CONFIG) --libs     $(LINK_COMPONENTS))
-ProjLibsPaths   = $(LLVM_CONFIG) \
+ProjLibsOptions += $(shell $(LLVM_CONFIG) --libs     $(LINK_COMPONENTS))
+ProjLibsPaths   += $(LLVM_CONFIG) \
                   $(shell $(LLVM_CONFIG) --libfiles $(LINK_COMPONENTS))
 endif
 endif






More information about the llvm-commits mailing list