[llvm-commits] CVS: reopt/test/TEST.reopt.Makefile

Brian Gaeke gaeke at cs.uiuc.edu
Wed May 26 04:42:00 PDT 2004


Changes in directory reopt/test:

TEST.reopt.Makefile updated: 1.13 -> 1.14

---
Log message:

Use the same linker that the compiler uses


---
Diffs of the changes:  (+3 -1)

Index: reopt/test/TEST.reopt.Makefile
diff -u reopt/test/TEST.reopt.Makefile:1.13 reopt/test/TEST.reopt.Makefile:1.14
--- reopt/test/TEST.reopt.Makefile:1.13	Sat May 22 01:56:40 2004
+++ reopt/test/TEST.reopt.Makefile	Wed May 26 04:40:18 2004
@@ -46,9 +46,11 @@
 # Solaris libraries that the Reoptimizer depends on
 REOPTIMIZER_SOLARISLIBS = -lcpc -lm -lrt -lmalloc -ldl
 
+MYLD = $(shell $(CXX) --print-prog-name=ld)
+
 WHOLE_REOPTIMIZER = $(REOPTLIBDIR)/wholereoptimizer.o
 $(WHOLE_REOPTIMIZER): $(REOPTIMIZER_OBJS) $(REOPTIMIZER_LLVMOBJS)
-	/usr/ccs/bin/ld -r -o $@ $+
+	$(MYLD) -r -o $@ $+
 
 # Libraries that should be checked for freshness when doing 
 # Reoptimizer tests (http://www.goodegg.com/eggdating.html)





More information about the llvm-commits mailing list