summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Schumacher2019-08-09 02:05:39 +0200
committerTim Schumacher2019-08-09 02:05:39 +0200
commit61f39e5985cd7742bbeeed03877bacc3531af1fe (patch)
tree8ce4412bb0d466340d4e4275b462c6b46d55a612
parent4b0127258ee73dd5318a47f6546ba812f9aae4fa (diff)
downloadaur-61f39e5985cd7742bbeeed03877bacc3531af1fe.tar.gz
Workaround build errors on GCC 9
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 6 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 88ff3f0a79f..e69343fce15 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = citra-git
pkgdesc = An experimental open-source Nintendo 3DS emulator/debugger
- pkgver = r6924.7c97e8df6
+ pkgver = r7941.3e9c2e77d
pkgrel = 1
url = https://github.com/citra-emu/citra/
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index cbef5be9bea..59abc24708e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
_pkgbase='citra'
pkgbase="$_pkgbase-git"
pkgname=("$_pkgbase-git" "$_pkgbase-qt-git")
-pkgver=r6924.7c97e8df6
+pkgver=r7941.3e9c2e77d
pkgrel=1
pkgdesc="An experimental open-source Nintendo 3DS emulator/debugger"
arch=('i686' 'x86_64')
@@ -30,6 +30,10 @@ prepare() {
build() {
cd "$srcdir/$_pkgbase/build"
+
+ # Fix for an issue some users are facing when compiling with GCC
+ CXXFLAGS+=" -DFMT_USE_USER_DEFINED_LITERALS=0"
+
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \