diff options
author | Ian Lance Taylor <iant@google.com> | 2007-11-09 23:35:19 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-11-09 23:35:19 +0000 |
commit | d12348b84844ad2841dd0b493f9557d0e291cf18 (patch) | |
tree | 35a9a339ca0fb16378e2df15069a9cba92c57ac3 | |
parent | f0323c2f6875c75b72a5832e746c9b2baf90eedd (diff) | |
download | gdb-d12348b84844ad2841dd0b493f9557d0e291cf18.zip gdb-d12348b84844ad2841dd0b493f9557d0e291cf18.tar.gz gdb-d12348b84844ad2841dd0b493f9557d0e291cf18.tar.bz2 |
From Craig Silverstein: Clean up make rules for debug_msg.
-rw-r--r-- | gold/testsuite/Makefile.am | 4 | ||||
-rw-r--r-- | gold/testsuite/Makefile.in | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/gold/testsuite/Makefile.am b/gold/testsuite/Makefile.am index ad47d28..38e34c0 100644 --- a/gold/testsuite/Makefile.am +++ b/gold/testsuite/Makefile.am @@ -115,9 +115,9 @@ object_unittest_SOURCES = object_unittest.cc if GCC debug_msg.o: debug_msg.cc - $(CXXCOMPILE) -O0 -c -w -o $@ $(srcdir)/debug_msg.cc + $(CXXCOMPILE) -O0 -g -c -w -o $@ $(srcdir)/debug_msg.cc debug_msg.err: debug_msg.o - if $(CXXLINK) -Bgcctestdir/ -o debug_msg debug_msg.o 2>debug_msg.err; \ + if $(CXXLINK) -Bgcctestdir/ -o debug_msg debug_msg.o 2>$@; \ then \ echo 2>&1 "Link of debug_msg.o should have failed"; \ exit 1; \ diff --git a/gold/testsuite/Makefile.in b/gold/testsuite/Makefile.in index 2587b68..5e3b607 100644 --- a/gold/testsuite/Makefile.in +++ b/gold/testsuite/Makefile.in @@ -1169,9 +1169,9 @@ uninstall-am: uninstall-info-am @GCC_TRUE@debug_msg.o: debug_msg.cc -@GCC_TRUE@ $(CXXCOMPILE) -O0 -c -w -o $@ $(srcdir)/debug_msg.cc +@GCC_TRUE@ $(CXXCOMPILE) -O0 -g -c -w -o $@ $(srcdir)/debug_msg.cc @GCC_TRUE@debug_msg.err: debug_msg.o -@GCC_TRUE@ if $(CXXLINK) -Bgcctestdir/ -o debug_msg debug_msg.o 2>debug_msg.err; \ +@GCC_TRUE@ if $(CXXLINK) -Bgcctestdir/ -o debug_msg debug_msg.o 2>$@; \ @GCC_TRUE@ then \ @GCC_TRUE@ echo 2>&1 "Link of debug_msg.o should have failed"; \ @GCC_TRUE@ exit 1; \ |