commit 795d411526b9a32ff0a30a1f29c40e4a4ab00def
Author: Elan Ruusamäe <[email protected]>
Date: Sat Nov 23 20:57:10 2013 +0200
handle with opt
ocaml.spec | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/ocaml.spec b/ocaml.spec
index b02b359..46d6bb6 100644
--- a/ocaml.spec
+++ b/ocaml.spec
@@ -52,7 +52,8 @@ tej biblioteki.
%setup -q -n template-%{version}
%build
-%{__make} CC="%{__cc} %{rpmcflags} -fPIC" all opt
+%{__make} all %{?with_opt:opt} \
+ CC="%{__cc} %{rpmcflags} -fPIC"
%install
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/projects/template-specs.git/commitdiff/795d411526b9a32ff0a30a1f29c40e4a4ab00def
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit