From ea65bc0d8615d945dc4c1a643e20366e45b3f48484c88b6ea474e4927b3ccf66 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 9 Oct 2014 18:53:40 +0000 Subject: [PATCH] Accepting request 254912 from home:Vindex17:branches:multimedia:libs OBS-URL: https://build.opensuse.org/request/show/254912 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/vlc?expand=0&rev=85 --- vlc.changes | 5 +++++ vlc.spec | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) 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 \