[arch-commits] Commit in jemalloc/trunk (PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Sat Sep 4 14:13:32 UTC 2021
Date: Saturday, September 4, 2021 @ 14:13:32
Author: felixonmars
Revision: 423430
upgpkg: jemalloc 1:5.2.1-5: rebuild with clang for FS#71745
Modified:
jemalloc/trunk/PKGBUILD
----------+
PKGBUILD | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-09-04 13:41:40 UTC (rev 423429)
+++ PKGBUILD 2021-09-04 14:13:32 UTC (rev 423430)
@@ -5,12 +5,13 @@
pkgname=jemalloc
epoch=1
pkgver=5.2.1
-pkgrel=4
+pkgrel=5
pkgdesc='General-purpose scalable concurrent malloc implementation'
arch=('x86_64')
license=('BSD')
url='http://www.canonware.com/jemalloc/'
depends=('glibc')
+makedepends=('clang')
provides=('libjemalloc.so')
optdepends=('perl: for jeprof')
source=("https://github.com/jemalloc/jemalloc/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.bz2")
@@ -19,6 +20,10 @@
build() {
cd $pkgname-$pkgver
+ # FS#71745: GCC-built jemalloc causes telegram-desktop to crash a lot. The reason is still not clear.
+ export CC=clang
+ export CXX=clang++
+
./configure \
--enable-autogen \
--prefix=/usr
More information about the arch-commits
mailing list