This is the mail archive of the
mailing list for the GDB project.
Re: [RFA] trailing backslash in top-level Makefile
- From: Ralf Wildenhues <Ralf dot Wildenhues at gmx dot de>
- To: Jerome Guitton <guitton at adacore dot com>, gdb-patches at sourceware dot org, gcc-patches at gcc dot gnu dot org, binutils at sourceware dot org
- Date: Wed, 3 Jun 2009 00:04:05 +0200
- Subject: Re: [RFA] trailing backslash in top-level Makefile
- References: <20090602163356.GB20678@adacore.com> <20090602180020.GA3739@gmx.de>
* Ralf Wildenhues wrote on Tue, Jun 02, 2009 at 08:00:21PM CEST:
> * Makefile.tpl: Avoid a trailing backslash.
> * Makefile.in: Regenerate.
> --- a/Makefile.tpl
> +++ b/Makefile.tpl
> @@ -628,8 +628,9 @@ all:
> $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
> @if gcc-bootstrap
> ; \
> - fi
> + fi \
> @endif gcc-bootstrap
> + && :
> .PHONY: all-build
> [+ FOR build_modules +]
This patch seems to fix the issue, and as such: OK to apply to GCC and
All my testing has been casual rather than following the rules, but I
think I've tried out all failure cases in GCC and src. Bummer there is
no exact opposite of the '@if gcc-bootstrap' switch yet (neither it nor
gcc-no-bootstrap are true for a binutils-only build), it would make for
a more readable rule. Hmm, maybe we should add one later.