[llvm-commits] CVS: llvm-test/External/SPEC/Makefile.spec

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



Changes in directory llvm-test/External/SPEC:

Makefile.spec updated: 1.53 -> 1.54
---
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:  (+6 -0)

 Makefile.spec |    6 ++++++
 1 files changed, 6 insertions(+)


Index: llvm-test/External/SPEC/Makefile.spec
diff -u llvm-test/External/SPEC/Makefile.spec:1.53 llvm-test/External/SPEC/Makefile.spec:1.54
--- llvm-test/External/SPEC/Makefile.spec:1.53	Mon Feb 27 16:11:02 2006
+++ llvm-test/External/SPEC/Makefile.spec	Tue Jun 13 13:52:28 2006
@@ -135,6 +135,12 @@
 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=../$*.out-nat
 BUGPOINT_OPTIONS += -timeout=$(RUNTIMELIMIT)






More information about the llvm-commits mailing list