diff --git a/extra/jemalloc/PKGBUILD b/extra/jemalloc/PKGBUILD index c1927a604..605bec724 100644 --- a/extra/jemalloc/PKGBUILD +++ b/extra/jemalloc/PKGBUILD @@ -26,7 +26,7 @@ sha256sums=('4814781d395b0ef093b21a08e8e6e0bd3dab8762f9935bbfb71679b0dea7c3e9' prepare() { cd $pkgname-$pkgver - patch -p1 -i "$srcdir/0001-Add-the-mtls-dialect-gnu2-to-compile-flags.patch" + [[ $CARCH != "aarch64" ]] && patch -p1 -i "$srcdir/0001-Add-the-mtls-dialect-gnu2-to-compile-flags.patch" patch -p1 -i ../8cfc9dec37b312a2686f602bbcdd102ca07cca99.patch autoconf }