From 75ed5d8b3ae7eda29aeff8c853c616868d3e9f0c Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Wed, 20 Jul 1994 02:17:55 +0000 Subject: [PATCH] (clean): Remove multilib build dirs. From-SVN: r7784 --- gcc/Makefile.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gcc/Makefile.in b/gcc/Makefile.in index f8062f7b9b4..2a620786610 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -1801,7 +1801,13 @@ clean: mostlyclean bytecode.clean lang.clean # Delete the include directory. -rm -rf stmp-* include objc-headers -rm -f */stmp-* +# Delete files used by the "multilib" facility (including libgcc subdirs). -rm -f multilib.h tmpmultilib* + -if [ "x$(MULTILIB_DIRNAMES)" != x ] ; then \ + rm -rf $(MULTILIB_DIRNAMES); \ + else if [ "x$(MULTILIB_OPTIONS)" != x ] ; then \ + rm -rf `echo $(MULTILIB_OPTIONS) | sed -e 's/\// /g'`; \ + fi ; fi # Delete all files that users would normally create # while building and installing GCC. -- 2.30.2