[packages/ocaml-easy-format] - disable ocaml_opt where not supported

qboosh qboosh at pld-linux.org
Wed Jul 22 20:58:10 CEST 2015


commit 037fbb739ded5b686e76c9ba361c5f33f7bcb1a9
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Jul 22 20:59:30 2015 +0200

    - disable ocaml_opt where not supported

 ocaml-easy-format.spec | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/ocaml-easy-format.spec b/ocaml-easy-format.spec
index 7e91559..c83e213 100644
--- a/ocaml-easy-format.spec
+++ b/ocaml-easy-format.spec
@@ -2,6 +2,10 @@
 # Conditional build:
 %bcond_without	ocaml_opt	# build opt (native code)
 
+%ifnarch %{ix86} %{x8664} arm aarch64 ppc sparc sparcv9
+%undefine	with_ocaml_opt
+%endif
+
 %define		module	easy-format
 Summary:	easy(ier) pretty printing for OCaml
 Summary(pl.UTF-8):	Łatwiejsze ładne wypisywanie dla OCamla
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ocaml-easy-format.git/commitdiff/037fbb739ded5b686e76c9ba361c5f33f7bcb1a9



More information about the pld-cvs-commit mailing list