dev-ml/num: fix parallel build

Closes: https://bugs.gentoo.org/936155
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
Alfredo Tupone
2024-07-30 07:05:04 +02:00
parent 2f0daacc84
commit 28494b7a30

View File

@@ -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)"