diff --git a/extra/thunderbird/PKGBUILD b/extra/thunderbird/PKGBUILD index ca19986b2..f78850df3 100644 --- a/extra/thunderbird/PKGBUILD +++ b/extra/thunderbird/PKGBUILD @@ -9,13 +9,14 @@ # - patch to remove NEON/SIMD checks from configure # - memory saving LDFLAGS # - enable calendar in mozconfig +# - disable jemalloc on aarch64 buildarch=28 highmem=1 pkgname=thunderbird pkgver=38.7.0 -pkgrel=1 +pkgrel=1.1 pkgdesc="Standalone Mail/News reader" arch=('i686' 'x86_64') license=('MPL' 'GPL') @@ -48,6 +49,8 @@ prepare() { cp "$srcdir/mozconfig" .mozconfig + [[ $CARCH == "aarch64" ]] && echo "ac_add_options --disable-jemalloc" >> .mozconfig + # configure script misdetects the preprocessor without an optimization level # https://bugs.archlinux.org/task/34644 sed -i '/ac_cpp=/s/$CPPFLAGS/& -O2/' mozilla/configure