]> git.pld-linux.org Git - projects/template-specs.git/commitdiff
- added setting wrt ocaml opt
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 1 Mar 2015 10:53:13 +0000 (11:53 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 1 Mar 2015 10:53:13 +0000 (11:53 +0100)
ocaml.spec

index b308efdf30781adfe4eb8058aae39ce585c377fd..616136a66d6bcfa4bfafbb4a38246b0926487dfd 100644 (file)
@@ -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
This page took 0.032441 seconds and 4 git commands to generate.