From: Jakub Bogusz Date: Thu, 19 Jun 2008 21:47:49 +0000 (+0000) Subject: - use MMX/SSE only where always supported or explicitly requested X-Git-Tag: auto/th/gegl-0_0_18-1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fgegl.git;a=commitdiff_plain;h=9a0ac5c2c489d5d807a55ad22ea669f84bbe96a2 - use MMX/SSE only where always supported or explicitly requested Changed files: gegl.spec -> 1.7 --- diff --git a/gegl.spec b/gegl.spec index 42db81e..df54d4f 100644 --- 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}