[projects/template-specs] better arch selection for ocaml_opt bcond

baggins baggins at pld-linux.org
Sat Jul 25 14:29:01 CEST 2015


commit 80fe6bf57ae80f1dfa340a032a4de974e6ec10d7
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Jul 25 14:28:41 2015 +0200

     better arch selection for ocaml_opt bcond

 ocaml.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/ocaml.spec b/ocaml.spec
index 685ff33..42ebd06 100644
--- a/ocaml.spec
+++ b/ocaml.spec
@@ -2,8 +2,8 @@
 # Conditional build:
 %bcond_without	ocaml_opt	# skip building native optimized binaries (bytecode is always built)
 
-%ifarch x32
 # not yet available on x32 (ocaml 4.02.1), remove when upstream will support it
+%ifnarch %{ix86} %{x8664} arm aarch64 ppc sparc sparcv9
 %undefine	with_ocaml_opt
 %endif
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/template-specs.git/commitdiff/80fe6bf57ae80f1dfa340a032a4de974e6ec10d7



More information about the pld-cvs-commit mailing list