d: Use build_exeext suffix for D generator programs.
authorIain Buclaw <ibuclaw@gdcproject.org>
Tue, 16 Apr 2019 21:16:43 +0000 (21:16 +0000)
committerIain Buclaw <ibuclaw@gcc.gnu.org>
Tue, 16 Apr 2019 21:16:43 +0000 (21:16 +0000)
commit460ad044bc85574e9acea9dade6ce7dda56ac742
tree43ad6de2475846920fc86a4b89a75cf081c4e21a
parent0382a41d63c0a99ac2f92d831f31af8b6203b2f3
d: Use build_exeext suffix for D generator programs.

Updated build and invocation of idgen and impcnvgen, ensuring that they
are removed when cleaning the build directory.

Added BUILD_LIBDEPS on the link command for the generator programs as
well, which is necessary when the system installed compiler is not GCC.

gcc/d/ChangeLog:

2019-04-16  Iain Buclaw  <ibuclaw@gdcproject.org>

* Make-lang.in (d.mostyclean): Clean idgen and impcnvgen.
(d/idgen): Rename to d/idgen$(build_exeext), add BUILD_LIBDEPS.
(d/impcnvgen): Rename to d/impcnvgen$(build_exeext), add
BUILD_LIBDEPS.
(d/id.c): Call idgen$(build_exeext).
(d/impcnvtab.c): Call impcnvgen$(build_exeext).

From-SVN: r270397
gcc/d/ChangeLog
gcc/d/Make-lang.in