r268344 - in /trunk/libbacktrace: ChangeLog Mak...

vries@gcc.gnu.org vries@gcc.gnu.org
Mon Jan 28 22:21:00 GMT 2019


Author: vries
Date: Mon Jan 28 22:21:19 2019
New Revision: 268344

URL: https://gcc.gnu.org/viewcvs?rev=268344&root=gcc&view=rev
Log:
[libbacktrace] Fix and simplify xcoff_%.c pattern rule

When generating xcoff_%.c, the last command is a sed command.  In case of a
sed failure, this will leave an incomplete file, which will appear as up to
date to make, so consequently it will not be regenerated.  Fix this by
sedding into a temporary file instead.

Also, use $< to access the prerequisite xcoff.c, instead of spelling out the
file name once more.

2019-01-28  Tom de Vries  <tdevries@suse.de>

	* Makefile.am (xcoff_%.c): Generate sed result into temporary file.
	Use $< to access prerequisite.
	* Makefile.in: Regenerate.

Modified:
    trunk/libbacktrace/ChangeLog
    trunk/libbacktrace/Makefile.am
    trunk/libbacktrace/Makefile.in



More information about the Gcc-cvs mailing list