rpcs3: update to commit a47bda026bf61999d6cecda0297c9154f51b090d and switch to GCC

This commit is contained in:
Lctrs 2021-02-21 01:40:28 +01:00
parent a5147a41ad
commit 3c875eafcc

View file

@ -85,12 +85,8 @@ modules:
- name: "rpcs3" - name: "rpcs3"
buildsystem: "cmake-ninja" buildsystem: "cmake-ninja"
build-options: build-options:
ldflags: "-fuse-ld=lld" cflags: &optflags "-fuse-linker-plugin -fuse-ld=gold"
env: cxxflags: *optflags
AR: "llvm-ar"
CC: "clang"
CXX: "clang++"
RANLIB: "llvm-ranlib"
config-opts: config-opts:
- "-DCMAKE_BUILD_TYPE=RelWithDebInfo" - "-DCMAKE_BUILD_TYPE=RelWithDebInfo"
- "-DBUILD_LLVM_SUBMODULE=OFF" - "-DBUILD_LLVM_SUBMODULE=OFF"
@ -110,8 +106,9 @@ modules:
COMM_TAG="$(grep 'version{.*}' rpcs3/rpcs3_version.cpp | awk -F[\{,] '{printf "%d.%d.%d", $2, $3, $4}')"; COMM_TAG="$(grep 'version{.*}' rpcs3/rpcs3_version.cpp | awk -F[\{,] '{printf "%d.%d.%d", $2, $3, $4}')";
COMM_COUNT="$(git rev-list --count HEAD)"; COMM_COUNT="$(git rev-list --count HEAD)";
COMM_HASH="$(git rev-parse --short=8 HEAD)"; COMM_HASH="$(git rev-parse --short=8 HEAD)";
sed -i 's|</component>|<content_rating type="oars-1.1"/><releases><release date="'$(date '+%Y-%m-%d')'" version="'"${COMM_TAG}"'-'"${COMM_COUNT}"'-'"${COMM_HASH}"'"/></releases></component>|' ${FLATPAK_DEST}/share/metainfo/rpcs3.appdata.xml; sed -i 's|</component>|<content_rating type="oars-1.1"/><releases><release date="'$(git show -s --format=%cs)'" version="'"${COMM_TAG}"'-'"${COMM_COUNT}"'-'"${COMM_HASH}"'"/></releases></component>|' ${FLATPAK_DEST}/share/metainfo/rpcs3.appdata.xml;
sources: sources:
- type: "git" - type: "git"
url: "https://github.com/RPCS3/rpcs3.git" url: "https://github.com/RPCS3/rpcs3.git"
commit: "bd269bccaf68caff66324580c0417ca68fc5805c" branch: "master"
commit: "a47bda026bf61999d6cecda0297c9154f51b090d"