From: Jan Rękorajski Date: Tue, 5 Nov 2013 22:01:45 +0000 (+0100) Subject: - fix sse2 bcond X-Git-Tag: auto/th/ClanLib-3.0.0-1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=95f26066dbd26b8dab44794822be5904710647ed;p=packages%2FClanLib.git - fix sse2 bcond --- diff --git a/ClanLib.spec b/ClanLib.spec index 277b4a1..b61e5b1 100644 --- a/ClanLib.spec +++ b/ClanLib.spec @@ -1,9 +1,9 @@ # # Conditional build: -%bcond_with sse2 # use SSE2 instructions +%bcond_without sse2 # use SSE2 instructions # -%ifarch pentium4 %{x8664} -%define with_sse2 1 +%ifnarch pentium4 %{x8664} +%undefine with_sse2 %endif # %define cvmajor 3.0 @@ -228,7 +228,7 @@ Dokumentacja programisty do biblioteki ClanLib %{__automake} %{__autoconf} %configure \ - %{!?with_sse2:--disable-sse2} \ + %{__enable_disable sse2} \ --enable-docs \ --%{?debug:en}%{!?debug:dis}able-debug