diff mbox series

makefile cleanup

Message ID 5c5be49f-58ad-8a18-5963-3a9b3dd76531@acm.org
State New
Headers show
Series makefile cleanup | expand

Commit Message

Nathan Sidwell July 13, 2020, 8:24 p.m. UTC
I discovered we were deleting cxxmain.c, which we generated at some 
point in time.  Not anymore.

nathan
diff mbox series

Patch

diff --git c/gcc/Makefile.in w/gcc/Makefile.in
index d5dcc03d59b..2ba76656dbf 100644
--- c/gcc/Makefile.in
+++ w/gcc/Makefile.in
@@ -3501,7 +3501,6 @@  distclean: clean lang.distclean
 	-cd testsuite && rm -f x *.x *.x? *.exe *.rpo *.o *.s *.S *.c
 	-cd testsuite && rm -f *.out *.gcov *$(coverageexts)
 	-rm -rf ${QMTEST_DIR} stamp-qmtest
-	-rm -f cxxmain.c
 	-rm -f .gdbinit configargs.h
 	-rm -f gcov.pod
 # Delete po/*.gmo only if we are not building in the source directory.
diff --git c/gcc/cp/Make-lang.in w/gcc/cp/Make-lang.in
index 7896591dd4b..6ee4e41266f 100644
--- c/gcc/cp/Make-lang.in
+++ w/gcc/cp/Make-lang.in
@@ -287,7 +287,6 @@  c++.mostlyclean:
 c++.clean:
 c++.distclean:
 	-rm -f cp/config.status cp/Makefile
-	-rm -f cxxmain.c
 c++.maintainer-clean:
 #
 # Stage hooks: