summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorHurricanePootis2022-10-13 11:12:08 -0500
committerHurricanePootis2022-10-13 11:12:08 -0500
commit2b9482ad7b083bc004da95e1535ab72fdaef3972 (patch)
treef4e189dfd4832ffc1df94ee6c4efa314419c5f8e
parentafe80c416ebff04e368306bbc092c966fd4d5589 (diff)
downloadaur-2b9482ad7b083bc004da95e1535ab72fdaef3972.tar.gz
Update PKGBUILD to be more in parity with flatpak and enable thin lto to improve performance as discusseiscussed upstream
-rwxr-xr-x.SRCINFO2
-rwxr-xr-xPKGBUILD7
2 files changed, 6 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d76a633b7e4c..1574de6eb377 100755
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = yuzu-mainline-git
pkgdesc = An experimental open-source emulator for the Nintendo Switch (newest features)
- pkgver = r22095.61399de5d
+ pkgver = r22216.013a34207
pkgrel = 1
url = https://github.com/yuzu-emu/yuzu-mainline
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 92d8e9de4da8..ea6b3425fdef 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_pkgname=yuzu
pkgname=$_pkgname-mainline-git
-pkgver=r22095.61399de5d
+pkgver=r22216.013a34207
pkgrel=1
pkgdesc='An experimental open-source emulator for the Nintendo Switch (newest features)'
arch=('i686' 'x86_64')
@@ -123,7 +123,10 @@ build() {
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_C_COMPILER=clang \
-DCMAKE_CXX_COMPILER=clang++ \
- -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_C_FLAGS="$CFLAGS -flto=thin" \
+ -DCMAKE_CXX_FLAGS="$CXXFLAGS -flto=thin" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON \
-DYUZU_USE_QT_WEB_ENGINE=ON \
-DYUZU_USE_EXTERNAL_SDL2=OFF \
-DUSE_DISCORD_PRESENCE=ON \