diff options
author | Tom de Vries <tdevries@suse.de> | 2019-01-28 22:21:19 +0000 |
---|---|---|
committer | Tom de Vries <vries@gcc.gnu.org> | 2019-01-28 22:21:19 +0000 |
commit | 62d4a355b7346242fd2242a41662f3b18340f53d (patch) | |
tree | 1857f30aa773cb56b54368657b754eef669986a4 /gcc | |
parent | b6d0f41ac5c1786911858b4763bb6f92519166f4 (diff) | |
download | gcc-62d4a355b7346242fd2242a41662f3b18340f53d.zip gcc-62d4a355b7346242fd2242a41662f3b18340f53d.tar.gz gcc-62d4a355b7346242fd2242a41662f3b18340f53d.tar.bz2 |
[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.
From-SVN: r268344
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions