aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHorodniceanu Andrei <a.horodniceanu@protonmail.com>2023-08-10 09:13:24 +0300
committerHorodniceanu Andrei <a.horodniceanu@protonmail.com>2023-08-10 09:16:13 +0300
commit2adabe76d14583809ed58fceec03bdee9d4a194a (patch)
tree44250482a169c0cdd035648e6e6389b92d0e1aea /eclass/dmd.eclass
parentFixed pkgcheck documentation errors. (diff)
downloaddlang-2adabe76d14583809ed58fceec03bdee9d4a194a.tar.gz
dlang-2adabe76d14583809ed58fceec03bdee9d4a194a.tar.bz2
dlang-2adabe76d14583809ed58fceec03bdee9d4a194a.zip
dmd.eclass: specify compiler path when selfhosting
Signed-off-by: Horodniceanu Andrei <a.horodniceanu@protonmail.com>
Diffstat (limited to 'eclass/dmd.eclass')
-rw-r--r--eclass/dmd.eclass2
1 files changed, 1 insertions, 1 deletions
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