commit:     28494b7a30132d895d48c5fbda9d2cd5adbe2974
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 30 05:05:04 2024 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue Jul 30 05:06:42 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28494b7a

dev-ml/num: fix parallel build

Closes: https://bugs.gentoo.org/936155
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-ml/num/num-1.5.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dev-ml/num/num-1.5.ebuild b/dev-ml/num/num-1.5.ebuild
index baaacdcf8f0e..f8dc825a611d 100644
--- a/dev-ml/num/num-1.5.ebuild
+++ b/dev-ml/num/num-1.5.ebuild
@@ -20,6 +20,10 @@ BDEPEND="${RDEPEND}"
 DEPEND="dev-ml/findlib:=[ocamlopt?]"
 
 src_compile() {
+       emake CFLAGS="${CFLAGS}" \
+               NATDYNLINK="$(usex ocamlopt true false)" \
+               NATIVE_COMPILER="$(usex ocamlopt true false)" \
+               -C src num_top.ml
        emake CFLAGS="${CFLAGS}" \
                NATDYNLINK="$(usex ocamlopt true false)" \
                NATIVE_COMPILER="$(usex ocamlopt true false)"

Reply via email to