[ocaml-ounit] Add workaround for code generator bug on ARM (RHBZ#1119049).

Richard W.M. Jones rjones at fedoraproject.org
Sun Jul 13 20:06:11 UTC 2014


commit b760dd4ac4c33fa89689ce368815ef4cadca6a1a
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Sun Jul 13 21:06:19 2014 +0100

    Add workaround for code generator bug on ARM (RHBZ#1119049).

 ocaml-ounit.spec |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/ocaml-ounit.spec b/ocaml-ounit.spec
index 2ab32fe..67a42c3 100644
--- a/ocaml-ounit.spec
+++ b/ocaml-ounit.spec
@@ -2,7 +2,7 @@
 
 Name:           ocaml-ounit
 Version:        2.0.0
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Unit test framework for OCaml
 
 License:        MIT
@@ -42,8 +42,8 @@ sh ./configure --destdir $RPM_BUILD_ROOT
 
 %build
 %ifarch %{arm}
-# RHBZ#1119049
-ulimit -s unlimited
+# Workaround for code generator bug on arm (RHBZ#1119049)
+export OCAMLFIND_COMMANDS='ocamlopt=ocamlopt'
 %endif
 make all
 make doc
@@ -83,8 +83,8 @@ rm -rf $RPM_BUILD_ROOT/usr/local/share/doc
 
 
 %changelog
-* Sun Jul 13 2014 Richard W.M. Jones <rjones at redhat.com> - 2.0.0-2
-- Larger stack on ARM (RHBZ#1119049).
+* Sun Jul 13 2014 Richard W.M. Jones <rjones at redhat.com> - 2.0.0-3
+- Add workaround for code generator bug on ARM (RHBZ#1119049).
 
 * Sat Jul 12 2014 Richard W.M. Jones <rjones at redhat.com> - 2.0.0-1
 - New upstream version 2.0.0.


More information about the scm-commits mailing list