Subject: [PATCH] testing/marisa-trie: improved architecture checking switch

From: Bart Ribbers <[email-masked]>
Date: Sat, 7 Sep 2019 22:46:40 +0200

A pkgrel bump isn't necessary as the build output doesn't change, but it'll improve the APKBUILD itself
---
 testing/marisa-trie/APKBUILD | 18 +++++++-----------
 1 file changed, 7 insertions(+), 11 deletions(-)

diff --git a/testing/marisa-trie/APKBUILD b/testing/marisa-trie/APKBUILD
index f966471e63..ce6f9ba3e7 100644
--- a/testing/marisa-trie/APKBUILD
+++ b/testing/marisa-trie/APKBUILD
@@ -19,18 +19,14 @@ prepare() {
 
 build() {
 	case "$CARCH" in
-		x86|x86_64)
-			./configure \
-				--prefix=/usr \
-				--disable-static \
-				--enable-sse2
-			;;
-		*)
-			./configure \
-				--prefix=/usr \
-				--disable-static
-			;;
+		x86|x86_64) sse2="--enable-sse2" ;;
+		*) sse2="--disable-sse2" ;;
 	esac
+	
+	./configure \
+		--prefix=/usr \
+		--disable-static \
+		$sse2
 
 	make
 }
-- 
2.23.0