diff options
author | Tom Tromey <tom@tromey.com> | 2017-10-08 17:12:19 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2017-10-09 09:23:22 -0600 |
commit | 890e97902a21a3b88f9b6028852736b813303029 (patch) | |
tree | 7e74c540e4f8f7239432eb017160c69ee90b9625 /gdb/common/common-exceptions.h | |
parent | 109483d9eec3f0d0c3eaafd5d829435059167c52 (diff) | |
download | binutils-890e97902a21a3b88f9b6028852736b813303029.zip binutils-890e97902a21a3b88f9b6028852736b813303029.tar.gz binutils-890e97902a21a3b88f9b6028852736b813303029.tar.bz2 |
Fix automatic dependency tracking
Commit f38307f5 changed COMPILE.post and POSTCOMPILE to remove
$(basename) from the dependency file name computation. However, it
did not update the `-include' at the end of the Makefile.in; this in
effect disabled automatic dependency tracking.
This patch restores the $(basename) wrapper so that the dependency
files are named "file.Po" rather than "file.o.Po".
I also tested the non-gcc3 dependency mode, which pointed out that
this case hadn't been working since the switch to C++. This is also
fixed in this patch.
Tested by rebuilding.
ChangeLog
2017-10-09 Tom Tromey <tom@tromey.com>
* Makefile.in (COMPILE.post, POSTCOMPILE): Restore $(basename).
(COMPILE.pre): Use $(CXX).
Diffstat (limited to 'gdb/common/common-exceptions.h')
0 files changed, 0 insertions, 0 deletions