[packages/ClanLib] - fix sse2 bcond
baggins
baggins at pld-linux.org
Tue Nov 5 23:01:59 CET 2013
commit 95f26066dbd26b8dab44794822be5904710647ed
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Tue Nov 5 23:01:45 2013 +0100
- fix sse2 bcond
ClanLib.spec | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ClanLib.git/commitdiff/95f26066dbd26b8dab44794822be5904710647ed
More information about the pld-cvs-commit
mailing list