Accepting request 606425 from home:elvigia:branches:games
- SDL2-endian.patch: bring up patch from SDL1, use optimized byteswap routines from the C library. - build with --disable-3dnow, do not pass -m3dnow to the compiler modern cpus do not support this instructions at all. OBS-URL: https://build.opensuse.org/request/show/606425 OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=80
This commit is contained in:
@@ -31,6 +31,7 @@ Source2: http://libsdl.org/release/%name-%version.tar.gz.sig
|
||||
Source3: %name.keyring
|
||||
Source4: baselibs.conf
|
||||
Patch1: sdl2-symvers.patch
|
||||
Patch2: SDL2-endian.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: cmake
|
||||
BuildRequires: dos2unix
|
||||
@@ -110,6 +111,7 @@ library.
|
||||
%prep
|
||||
%setup -q
|
||||
%patch -P 1 -p1
|
||||
%patch -P 2 -p1
|
||||
dos2unix WhatsNew.txt
|
||||
dos2unix TODO.txt
|
||||
dos2unix BUGS.txt
|
||||
@@ -129,7 +131,8 @@ dos2unix COPYING.txt
|
||||
--enable-sse2=no \
|
||||
%endif
|
||||
--enable-sse3=no \
|
||||
--disable-rpath
|
||||
--disable-rpath \
|
||||
--disable-3dnow
|
||||
make %{?_smp_mflags} V=1
|
||||
|
||||
%install
|
||||
|
Reference in New Issue
Block a user