diff options
author | HurricanePootis | 2022-10-13 11:12:08 -0500 |
---|---|---|
committer | HurricanePootis | 2022-10-13 11:12:08 -0500 |
commit | 2b9482ad7b083bc004da95e1535ab72fdaef3972 (patch) | |
tree | f4e189dfd4832ffc1df94ee6c4efa314419c5f8e | |
parent | afe80c416ebff04e368306bbc092c966fd4d5589 (diff) | |
download | aur-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 | .SRCINFO | 2 | ||||
-rwxr-xr-x | PKGBUILD | 7 |
2 files changed, 6 insertions, 3 deletions
@@ -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 @@ -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 \ |