From 32b3b293987b2d43f4eafe88b5ef92561dcd3979 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Mon, 17 Oct 2005 14:57:22 +0000 Subject: [PATCH] - make mmx bcond Changed files: mythtv.spec -> 1.39 --- mythtv.spec | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/mythtv.spec b/mythtv.spec index 0cb4010..b300189 100644 --- a/mythtv.spec +++ b/mythtv.spec @@ -24,6 +24,14 @@ %bcond_with ivtv # ivtv support (PVR-250, PVR-350) NFY %bcond_with firewire # ieee1394 (NFY) %bcond_without xvmc # do not use XvMCW +%bcond_with mmx # enable mmx + +# enable mmx automatically on arches having it +%ifarch %{ix86} %{x8664} +%ifnarch i386 i486 i586 i686 +%define with_mmx 1 +%endif +%endif Summary: A personal video recorder (PVR) application Summary(pl): Osobista aplikacja do nagrywania obrazu (PVR) @@ -280,17 +288,15 @@ _lib=%{_lib} \ %else %ifarch %{ix86} %ifarch athlon - --arch=athlon --enable-mmx \ + --arch=athlon %else --cpu=i386 --tune=pentium4 \ - %ifnarch i386 i486 i586 i686 - --enable-mmx \ - %endif %endif %endif %ifarch %{x8664} - --arch=x86_64 --enable-mmx \ + --arch=x86_64 %endif + %{?with_mmx:--enable-mmx} \ %endif --%{?with_arts:en}%{!?with_arts:dis}able-audio-arts \ --%{?with_alsa:en}%{!?with_alsa:dis}able-audio-alsa \ -- 2.44.0