summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Fontenelle2024-02-23 00:02:23 -0300
committerRafael Fontenelle2024-02-23 00:02:23 -0300
commitf913788ef1edf8e068cd7785281c3aba24cc321b (patch)
tree581d1da2a3567eea35a7fc9542b879bf4cae4f47
parent75f53163fd682ef5c500a18d149bb7e0291b5824 (diff)
downloadaur-f913788ef1edf8e068cd7785281c3aba24cc321b.tar.gz
Add -fffat-lto-objects to fix tests
See https://bbs.archlinux.org/viewtopic.php?id=293078
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2a78f79bc489..b56e149271b6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ddnet
pkgdesc = A Teeworlds modification with a unique cooperative gameplay.
pkgver = 18.0.3
- pkgrel = 1
+ pkgrel = 2
url = https://ddnet.org
arch = x86_64
license = CC-BY-SA-3.0
diff --git a/PKGBUILD b/PKGBUILD
index 595559857d3b..c6ab09f17f0d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=ddnet
pkgver=18.0.3
-pkgrel=1
+pkgrel=2
pkgdesc="A Teeworlds modification with a unique cooperative gameplay."
arch=('x86_64')
url="https://ddnet.org"
@@ -30,6 +30,8 @@ sha256sums=('68d62635194a87f35c16077f3b65dd0b56877b74bd0776f4c3f3196fa79b87c8'
build() {
mkdir -p build
cd build
+ # https://bbs.archlinux.org/viewtopic.php?id=293078
+ CXXFLAGS+=' -ffat-lto-objects'
cmake ../DDNet-$pkgver \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \