SHA256
1
0
forked from pool/SDL2

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:
2018-05-15 00:04:42 +00:00
committed by Git OBS Bridge
parent bf5ba53a95
commit 72825d3b39
3 changed files with 203 additions and 1 deletions

View File

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