SHA256
1
0
forked from pool/vlc

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
This commit is contained in:
Dominique Leuenberger 2014-10-09 18:53:40 +00:00 committed by Git OBS Bridge
parent 485e0e9bd2
commit ea65bc0d86
2 changed files with 11 additions and 1 deletions

View File

@ -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

View File

@ -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 \