[gold commit] Remove *.stderr when 'make clean'

ccoutant@gmail.com ccoutant@gmail.com
Wed Jun 20 00:01:00 GMT 2018


Running "make clean" leaves one .stderr file. This patch adds *.stderr
to MOSTLYCLEANFILES.

gold/
	* testsuite/Makefile.am (MOSTLYCLEANFILES): Add *.stderr.
	* testsuite/Makefile.in: Regenerate.

-cary


diff --git a/gold/testsuite/Makefile.am b/gold/testsuite/Makefile.am
index c926f8ba8f..99006c593d 100644
--- a/gold/testsuite/Makefile.am
+++ b/gold/testsuite/Makefile.am
@@ -81,7 +81,7 @@ endif
 # .o's), but not all of them (such as .so's and .err files).  We
 # improve on that here.  automake-1.9 info docs say "mostlyclean" is
 # the right choice for files 'make' builds that people rebuild.
-MOSTLYCLEANFILES = *.so *.syms *.stdout
+MOSTLYCLEANFILES = *.so *.syms *.stdout *.stderr
 
 # Export make variables to the shell scripts so that they can see
 # (for example) DEFAULT_TARGET.



More information about the Binutils mailing list