~alpine/aports

testing/marisa-trie: fix building on non-x86 platforms v1 SUPERSEDED

Bart Ribbers: 1
 testing/marisa-trie: fix building on non-x86 platforms

 1 files changed, 14 insertions(+), 4 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/3003/mbox | git am -3
Learn more about email & git

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

---
 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