[llvm-commits] CVS: llvm/test/Programs/SingleSource/Benchmarks/Shootout-C++/Makefile

John Criswell criswell at cs.uiuc.edu
Mon Dec 8 17:01:07 PST 2003


Changes in directory llvm/test/Programs/SingleSource/Benchmarks/Shootout-C++:

Makefile updated: 1.3 -> 1.4

---
Log message:

Use LDFLAGS to specify link flags for native applications.
These options should be the same for linking LLC, CBE, and native code.

Use these new features to link the correct libraries into the correct
programs.
Specifically, don't bother with libm since it's already added.
Link everything with libstdc++ as everything will probably need it.



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

Index: llvm/test/Programs/SingleSource/Benchmarks/Shootout-C++/Makefile
diff -u llvm/test/Programs/SingleSource/Benchmarks/Shootout-C++/Makefile:1.3 llvm/test/Programs/SingleSource/Benchmarks/Shootout-C++/Makefile:1.4
--- llvm/test/Programs/SingleSource/Benchmarks/Shootout-C++/Makefile:1.3	Mon Dec  8 15:38:13 2003
+++ llvm/test/Programs/SingleSource/Benchmarks/Shootout-C++/Makefile	Mon Dec  8 17:00:01 2003
@@ -1,5 +1,6 @@
 LEVEL = ../../../../..
-LDFLAGS += -lm -lpthread
-LIBS += -lc -lstdc++
+CPPFLAGS += -Wno-deprecated
+LDFLAGS += -lpthread -lstdc++
+LIBS += -lstdc++
 
 include $(LEVEL)/test/Programs/SingleSource/Makefile.singlesrc





More information about the llvm-commits mailing list