~alpine/aports

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch

[PATCH] testing/marisa-trie: fix building on non-x86 platforms

Bart Ribbers <bribbers@disroot.org>
Details
Message ID
<20190907202828.10434-1-bribbers@disroot.org>
DKIM signature
missing
Download raw message
Patch: +14 -4
---
 testing/marisa-trie/APKBUILD | 18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)

diff --git a/testing/marisa-trie/APKBUILD b/testing/marisa-trie/APKBUILD
index 3319201868..f966471e63 100644
--- a/testing/marisa-trie/APKBUILD
+++ b/testing/marisa-trie/APKBUILD
@@ -18,10 +18,20 @@ prepare() {
}

build() {
	./configure \
		--prefix=/usr \
		--disable-static \
		--enable-sse2
	case "$CARCH" in
		x86|x86_64)
			./configure \
				--prefix=/usr \
				--disable-static \
				--enable-sse2
			;;
		*)
			./configure \
				--prefix=/usr \
				--disable-static
			;;
	esac

	make
}

-- 
2.23.0
Reply to thread Export thread (mbox)