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

Chris Lattner lattner at cs.uiuc.edu
Tue Jun 13 11:52:41 PDT 2006



Changes in directory llvm-test:

Makefile.programs updated: 1.215 -> 1.216
---
Log message:

Use the new bugpoint -Xlinker option to pass down LDFLAGS to bugpoint, allowing
us to debug NAG Fortran programs and povray without ugly hacks


---
Diffs of the changes:  (+4 -0)

 Makefile.programs |    4 ++++
 1 files changed, 4 insertions(+)


Index: llvm-test/Makefile.programs
diff -u llvm-test/Makefile.programs:1.215 llvm-test/Makefile.programs:1.216
--- llvm-test/Makefile.programs:1.215	Fri Jun  9 16:47:24 2006
+++ llvm-test/Makefile.programs	Tue Jun 13 13:52:28 2006
@@ -379,6 +379,10 @@
 BUGPOINT_OPTIONS += -abs-tolerance $(FP_ABSTOLERANCE)
 endif
 
+# Give bugpoint information about LDFLAGS to pass down to the actual link stage
+# of the program.
+BUGPOINT_OPTIONS += $(LDFLAGS:%=-Xlinker=%) 
+
 # Specify stdin, reference output, and command line options for the program...
 BUGPOINT_OPTIONS += -input=$(STDIN_FILENAME) -output=Output/$*.out-nat
 BUGPOINT_OPTIONS += -timeout=$(RUNTIMELIMIT)






More information about the llvm-commits mailing list