Accepting request 537426 from home:kah0922:branches:Emulators

- Added rpcs3-unbreak_build.patch to fix build.

The patch is from X0F's branch.

OBS-URL: https://build.opensuse.org/request/show/537426
OBS-URL: https://build.opensuse.org/package/show/Emulators/rpcs3?expand=0&rev=9
This commit is contained in:
Klaus Kämpf
2017-11-02 17:32:20 +00:00
committed by Git OBS Bridge
parent 07f9912f1a
commit 909f35e587
3 changed files with 59 additions and 0 deletions

View File

@@ -23,6 +23,7 @@ Summary: PS3 emulator/debugger
License: GPL-2.0
Url: https://rpcs3.net/
Source0: %{name}-%{version}.tar.xz
Patch0: rpcs3-unbreak_build.patch
ExclusiveArch: x86_64
#BuildRequires: gcc-c++
@@ -64,6 +65,7 @@ An open-source PlayStation 3 emulator/debugger written in C++.
%prep
%setup -q
%patch0 -p1
GIT_VERSION=$(echo %{version} | sed 's|.*git|git~|g')
@@ -89,6 +91,7 @@ cmake . \
-DCMAKE_CXX_FLAGS="%{optflags}" \
-DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_SKIP_RPATH="YES" \
-DUSE_SHARED_LLVM_LIBS=ON \
-DCMAKE_EXE_LINKER_FLAGS="$(llvm-config --libs mcjit vectorize ipo x86codegen x86disassembler)"
%make_jobs