diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index c89e7d21ee4c8..1b3c781056a72 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1154,6 +1154,8 @@ toolchain_setup_d() { die "Did not find any appropriate GDC compiler installed" fi + export CC=${bootstrap_gcc_bin_dir}/${CHOST}-gcc + export CXX=${bootstrap_gcc_bin_dir}/${CHOST}-g++ export GDC=${bootstrap_gcc_bin_dir}/${CHOST}-gdc }