From f5bdf11c890cb0de1a175ba3725872099f284e13 Mon Sep 17 00:00:00 2001
From: Zach van Rijn <me@zv.io>
Date: Thu, 17 Feb 2022 01:23:23 +0000
Subject: system/libgcrypt: temporarily work around #511 on pmmx

---
 system/libgcrypt/APKBUILD | 7 +++++++
 1 file changed, 7 insertions(+)

(limited to 'system')

diff --git a/system/libgcrypt/APKBUILD b/system/libgcrypt/APKBUILD
index 18f6c856c..535171e30 100644
--- a/system/libgcrypt/APKBUILD
+++ b/system/libgcrypt/APKBUILD
@@ -31,6 +31,13 @@ build() {
 		;;
 	esac
 
+	case "$CARCH" in
+	pmmx)
+		# https://git.adelielinux.org/adelie/packages/-/issues/511
+		_arch_configure="${_arch_configure} --disable-asm"
+		;;
+	esac
+
 	./configure \
 		--build=$CBUILD \
 		--host=$CHOST \
-- 
cgit v1.2.3-70-g09d2