libgo: don't have .lo depend on .lo.dep
authorIan Lance Taylor <ian@gcc.gnu.org>
Mon, 8 Aug 2016 21:23:57 +0000 (21:23 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Mon, 8 Aug 2016 21:23:57 +0000 (21:23 +0000)
commitb123572d819ffc4d3c250c7cbeb547fc351d4cf7
treef10e9a98f3e4e4e2bd54f75b974d1e129a7977cd
parenta7d79e5cbb77e0ee53d81db5a94ac865cbefd5bf
libgo: don't have .lo depend on .lo.dep

    Having each .lo depend on the corresponding .lo.dep caused too many
    rebuilds, because the .lo.dep files are rebuilt when Makefile changes.
    Instead, if the .lo.dep file changes, remove the .lo file.

    Reviewed-on: https://go-review.googlesource.com/25588

From-SVN: r239258
gcc/go/gofrontend/MERGE
libgo/Makefile.am
libgo/Makefile.in