diff --git a/vlc.changes b/vlc.changes index 9a32ed6..09e08ee 100644 --- a/vlc.changes +++ b/vlc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 9 18:37:20 UTC 2014 - vindex17@outlook.it + +- Enable SSE2 instruction set for x86_64 + ------------------------------------------------------------------- Tue Oct 7 00:44:05 UTC 2014 - dimstar@opensuse.org diff --git a/vlc.spec b/vlc.spec index ff0fa7a..62437df 100644 --- a/vlc.spec +++ b/vlc.spec @@ -281,13 +281,18 @@ sed -e "s/__DATE__/\"$FAKE_BUILDDATE\"/" -i modules/gui/qt4/dialogs/help.cpp src %build pkg-config --exists smbclient && smbclient=$(pkg-config --cflags smbclient) -%ifarch %{ix86} x86_64 +%ifarch %{ix86} export CFLAGS="%{optflags} -L%{_libdir}/live -msse -Wno-return-type $smbclient" export CXXFLAGS="%{optflags} -L%{_libdir}/live -msse -Wno-return-type $smbclient" %else +%ifarch x86_64 +export CFLAGS="%{optflags} -L%{_libdir}/live -msse2 -Wno-return-type $smbclient" +export CXXFLAGS="%{optflags} -L%{_libdir}/live -msse2 -Wno-return-type $smbclient" +%else export CFLAGS="%{optflags} -L%{_libdir}/live -Wno-return-type $smbclient" export CXXFLAGS="%{optflags} -L%{_libdir}/live -Wno-return-type $smbclient" %endif +%endif %configure \ --disable-static \