This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: make clean doesn't in current cvs


DJ Delorie writes:
> 
> > 2001-03-22  Colin Howell  <chowell@redhat.com>
> > 
> >         * Makefile.in (DO_X): Do not backslash single-quotes in backquotes.
> 
> Approved and applied.  Thanks!

Thank you.  Alas, you applied it before I could post a correction.
:-)

The patch I sent only fixed one occurrence of this problem in
gcc/Makefile.in.  As it turns out, there were two.  A patch for the
second occurrence follows.  I have not been able to properly test this
patch because my configuration is native and doesn't have any of the
affected directories, but since the misusage is identical, I am sure
this patch is OK.

2001-03-23  Colin Howell  <chowell@redhat.com>

        * Makefile.in (DO_X): Do not backslash single-quotes in
	backquotes (fix second occurrence).

Index: gcc/Makefile.in
===================================================================
RCS file: /cvs/gcc/gcc/Makefile.in,v
retrieving revision 1.78
diff -c -3 -p -r1.78 Makefile.in
*** Makefile.in	2001/03/23 18:21:28	1.78
--- Makefile.in	2001/03/23 21:01:06
*************** $(DO_X):
*** 986,992 ****
  	    if (cd $(TARGET_SUBDIR)/$$i; \
  	        $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  			"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
! 	                "`echo \"RANLIB=$${RANLIB}\" | sed -e \'s/.*=$$/XFOO=/\'`" \
  			"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
  			$${target}); \
  	    then true; else exit 1; fi; \
--- 986,992 ----
  	    if (cd $(TARGET_SUBDIR)/$$i; \
  	        $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  			"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
! 	                "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
  			"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
  			$${target}); \
  	    then true; else exit 1; fi; \

-- 
Colin Douglas Howell            E-mail:  chowell@redhat.com
Support Engineer                Support line:  (408) 542-9601
Red Hat, Inc.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]