[projects/template-specs] handle with opt
glen
glen at pld-linux.org
Sat Nov 23 19:57:13 CET 2013
commit 795d411526b9a32ff0a30a1f29c40e4a4ab00def
Author: Elan Ruusamäe <glen at delfi.ee>
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
More information about the pld-cvs-commit
mailing list