From e7f8617050e6b005ab4ead655da6bdeb7c31ad9f Mon Sep 17 00:00:00 2001
From: Kevin Daudt <kdaudt@alpinelinux.org>
Date: Tue, 13 Sep 2022 20:00:16 +0000
Subject: [PATCH] main/pcsc-lite: allow textrels on riscv64

---
 main/pcsc-lite/APKBUILD | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/main/pcsc-lite/APKBUILD b/main/pcsc-lite/APKBUILD
index 7f06994397e6..de75d5854d0b 100644
--- a/main/pcsc-lite/APKBUILD
+++ b/main/pcsc-lite/APKBUILD
@@ -31,6 +31,9 @@ source="https://pcsclite.apdu.fr/files/pcsc-lite-$pkgver.tar.bz2
 	pcscd.initd
 	"
 
+# temp allow textrels on riscv64
+[ "$CARCH" = "riscv64" ] && options="$options textrels"
+
 build() {
 	./configure \
 		--prefix=/usr \
-- 
GitLab