Commit d543fe0d authored by Ariadne Conill's avatar Ariadne Conill

community/akonadi: increase thread stack size to 1MB

akonadiserver does a lot of recursion, combined with C++
can result in easily blasting through 80KB stack when
walking an e-mail thread
parent 3134202f
......@@ -2,7 +2,7 @@
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=akonadi
pkgver=20.04.3
pkgrel=0
pkgrel=1
pkgdesc="A cross-desktop storage service for PIM data and meta data providing concurrent read, write, and query access"
arch="all !armhf"
url="https://community.kde.org/KDE_PIM"
......@@ -15,6 +15,8 @@ source="https://download.kde.org/stable/release-service/$pkgver/src/akonadi-$pkg
subpackages="$pkgname-dev $pkgname-lang $pkgname-dbg"
build() {
# akonadi recurses while walking e-mail threads, so give it a decent stack
LDFLAGS="$LDFLAGS -Wl,-z,stack-size=1024768" \
cmake -B build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment