[packages/ocaml] - filter out native compiler deps on non-native builds - rel 3
baggins
baggins at pld-linux.org
Thu Mar 18 00:03:07 CET 2021
commit 619d6a22ccc03f55ea952fd184beaf0055286c6e
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Thu Mar 18 00:02:16 2021 +0100
- filter out native compiler deps on non-native builds
- rel 3
ocaml.spec | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/ocaml.spec b/ocaml.spec
index 6b2462f..76e4105 100644
--- a/ocaml.spec
+++ b/ocaml.spec
@@ -14,7 +14,7 @@ Summary: The Objective Caml compiler and programming environment
Summary(pl.UTF-8): Kompilator OCamla (Objective Caml) oraz środowisko programistyczne
Name: ocaml
Version: 4.12.0
-Release: 2
+Release: 3
Epoch: 1
License: QPL v1.0 with linking exception (compiler), LGPL v2 with linking exception (library)
Group: Development/Languages
@@ -43,6 +43,10 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define specflags -fno-strict-aliasing
+%if %{without ocaml_opt}
+%define _noautoreq Backend_intf Inlining_decision_intf Simplify_boxed_integer_ops_intf
+%endif
+
%description
Objective Caml is a high-level, strongly-typed, functional and
object-oriented programming language from the ML family of languages.
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ocaml.git/commitdiff/619d6a22ccc03f55ea952fd184beaf0055286c6e
More information about the pld-cvs-commit
mailing list