commit: 52fbe825e5cd9252ce80e3297aebc9805ec5f57d Author: Horodniceanu Andrei <a.horodniceanu <AT> protonmail <DOT> com> AuthorDate: Tue Jan 24 13:47:52 2023 +0000 Commit: Marco Leise <marco.leise <AT> gmx <DOT> de> CommitDate: Fri Sep 1 21:12:51 2023 +0000 URL: https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=52fbe825
dmd.eclass: die if the build script fails 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 008cbbf..ad99b43 100644 --- a/eclass/dmd.eclass +++ b/eclass/dmd.eclass @@ -181,7 +181,7 @@ dmd_src_compile() { einfo "Building dmd build script..." 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 + env VERBOSE=1 ${HOST_DMD}="${DMD}" CXX="$(tc-getCXX)" ${ENABLE_RELEASE}=1 ${LTO} dmd/generated/build DFLAGS="$(dlang_dmdw_dcflags)" dmd || die else einfo "Building dmd..." emake -C dmd/src -f posix.mak TARGET_CPU=X86 ${HOST_DMD}="${DMD}" ${HOST_CXX}="$(tc-getCXX)" ${ENABLE_RELEASE}=1 ${LTO}