]> git.pld-linux.org Git - packages/gegl.git/commitdiff
- use MMX/SSE only where always supported or explicitly requested auto/th/gegl-0_0_18-1
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 19 Jun 2008 21:47:49 +0000 (21:47 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gegl.spec -> 1.7

gegl.spec

index 42db81ef38cdcd2ba62dae282436a10a44d3a335..df54d4f67e179ca19059bc6498113c3d2807c143 100644 (file)
--- a/gegl.spec
+++ b/gegl.spec
@@ -1,3 +1,14 @@
+#
+# Conditional build:
+%bcond_with    mmx     # use MMX instructions
+%bcond_with    sse     # use SSE instructions
+#
+%ifarch %{x8664} athlon pentium3 pentium4
+%define        with_mmx        1
+%endif
+%ifarch %{x8664} pentium3 pentium4
+%define        with_sse        1
+%endif
 Summary:       Generic image processing library
 Summary(pl.UTF-8):     Ogólna biblioteka przetwarzania obrazu
 Name:          gegl
@@ -99,6 +110,8 @@ Dokumentacja API biblioteki gegl.
 %{__autoheader}
 %{__automake}
 %configure \
+       %{!?with_mmx:--disable-mmx} \
+       %{!?with_sse:--disable-sse} \
        --enable-static
 %{__make}
 
This page took 0.182848 seconds and 4 git commands to generate.