mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
dev-ml/num: try to disable ocamlopt
Closes: https://bugs.gentoo.org/795780 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -18,7 +18,7 @@ IUSE="+ocamlopt"
|
||||
RDEPEND="dev-lang/ocaml:=[ocamlopt?]"
|
||||
|
||||
src_compile() {
|
||||
emake CFLAGS="${CFLAGS}"
|
||||
emake CFLAGS="${CFLAGS}" NATDYNLINK="$(usex ocamlopt true false)"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
@@ -28,5 +28,5 @@ src_test() {
|
||||
|
||||
src_install() {
|
||||
findlib_src_preinst
|
||||
OCAMLPATH="${OCAMLFIND_DESTDIR}" emake install DESTDIR="${D}"
|
||||
OCAMLPATH="${OCAMLFIND_DESTDIR}" emake install DESTDIR="${D}" NATDYNLINK="$(usex ocamlopt true false)"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user