]> git.pld-linux.org Git - packages/mythtv.git/commitdiff
- make mmx bcond
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 17 Oct 2005 14:57:22 +0000 (14:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    mythtv.spec -> 1.39

mythtv.spec

index 0cb40102471202168ee2ba4c7bd53dac8e91c6b8..b300189ce6752976f5d2fdd77eb2f44075331ac5 100644 (file)
 %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 \
This page took 0.046455 seconds and 4 git commands to generate.