From 795d411526b9a32ff0a30a1f29c40e4a4ab00def Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Sat, 23 Nov 2013 20:57:10 +0200 Subject: [PATCH] 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 -- 2.44.0