[llvm-commits] CVS: llvm/test/Programs/Makefile.programs

Chris Lattner lattner at cs.uiuc.edu
Sat Nov 29 04:27:01 PST 2003


Changes in directory llvm/test/Programs:

Makefile.programs updated: 1.101 -> 1.102

---
Log message:

Link to libcrtend with -l instead of filename directly, to work around gccld bugs


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

Index: llvm/test/Programs/Makefile.programs
diff -u llvm/test/Programs/Makefile.programs:1.101 llvm/test/Programs/Makefile.programs:1.102
--- llvm/test/Programs/Makefile.programs:1.101	Sat Nov 29 04:10:57 2003
+++ llvm/test/Programs/Makefile.programs	Sat Nov 29 04:25:55 2003
@@ -194,7 +194,7 @@
 
 $(PROGRAMS_TO_TEST:%=Output/%.llvm.bc): \
 Output/%.llvm.bc: Output/%.linked.bc $(LGCCLDPROG)
-	$(LGCCLD) -disable-inlining $(STATS) $< -lc $(LIBS) crtend.a -o Output/$*.llvm
+	$(LGCCLD) -disable-inlining $(STATS) $< -lc $(LIBS) -lcrtend -o Output/$*.llvm
 ifneq ($(OPTPASSES),)
 	$(LOPT) -q $(OPTPASSES) < $@ > $@.tmp
 	$(MV) -f $@.tmp $@
@@ -202,7 +202,7 @@
 
 $(PROGRAMS_TO_TEST:%=Output/%.llvm): \
 Output/%.llvm: Output/%.linked.bc $(LGCCLDPROG)
-	$(LGCCLD) -disable-inlining $(STATS) $< -lc $(LIBS) crtend.a -o Output/$*.llvm
+	$(LGCCLD) -disable-inlining $(STATS) $< -lc $(LIBS) -lcrtend -o Output/$*.llvm
 ifneq ($(OPTPASSES),)
 	$(LOPT) -q $(OPTPASSES) < $@ > $@.tmp
 	$(MV) -f $@.tmp $@





More information about the llvm-commits mailing list