commit e24c43097bc6b5e8de0dd8f3f780825193afc0ea
Author: Jan Rękorajski <[email protected]>
Date: Sun Mar 1 11:53:13 2015 +0100
- added setting wrt ocaml opt
ocaml.spec | 10 ++++++++++
1 file changed, 10 insertions(+)
---
diff --git a/ocaml.spec b/ocaml.spec
index b308efd..616136a 100644
--- a/ocaml.spec
+++ b/ocaml.spec
@@ -2,6 +2,16 @@
# Conditional build:
%bcond_without ocaml_opt # build opt
+%ifarch x32
+%undefine▸ with_opt
+%endif
+
+%if %{without ocaml_opt}
+%define▸▸ no_install_post_strip▸ 1
+# no opt means no native binary, stripping bytecode breaks such programs
+%define▸▸ _enable_debug_packages▸ 0
+%endif
+
%define module %{module}
Summary: %{module} binding for OCaml
Summary(pl.UTF-8): Wiązania %{module} dla OCamla
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/projects/template-specs.git/commitdiff/e24c43097bc6b5e8de0dd8f3f780825193afc0ea
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit