commit: 2adabe76d14583809ed58fceec03bdee9d4a194a Author: Horodniceanu Andrei <a.horodniceanu <AT> protonmail <DOT> com> AuthorDate: Thu Aug 10 06:13:24 2023 +0000 Commit: Marco Leise <marco.leise <AT> gmx <DOT> de> CommitDate: Thu Aug 10 06:16:13 2023 +0000 URL: https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=2adabe76
dmd.eclass: specify compiler path when selfhosting Signed-off-by: Horodniceanu Andrei <a.horodniceanu <AT> protonmail.com> eclass/dmd.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/dmd.eclass b/eclass/dmd.eclass index f972961..47fc51a 100644 --- a/eclass/dmd.eclass +++ b/eclass/dmd.eclass @@ -178,7 +178,7 @@ dmd_src_compile() { fi if dmd_ge 2.094; then einfo "Building dmd build script..." - dlang_compile_bin dmd/generated/build dmd/src/build.d + DC="${DMD}" dlang_compile_bin dmd/generated/build dmd/src/build.d einfo "Building dmd..." env VERBOSE=1 ${HOST_DMD}="${DMD}" CXX="$(tc-getCXX)" ${ENABLE_RELEASE}=1 ${LTO} dmd/generated/build DFLAGS="$(dlang_dmdw_dcflags)" dmd else