Received: from knopi.disroot.org (knopi.disroot.org [178.21.23.139]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 9CB55781F20 for ; Sat, 7 Sep 2019 20:46:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id E9D32265CB for ; Sat, 7 Sep 2019 22:46:46 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CzdIUqr4hkC2; Sat, 7 Sep 2019 22:46:45 +0200 (CEST) From: Bart Ribbers DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1567889205; bh=ZWWruQpHlVKR7QIBEaxMiPTyuSsAjmT1SMJIHx5NH7I=; h=From:To:Cc:Subject:Date; b=PMMaNhxSpr2fnI5caKU4w9EMX0kAQ1/1ScHnI1+Kdhtv8vxEP6ZKTn3iH/9PjAYzV 4JeGjl7PwRrc6gZ7Vupkvykos7qSkmOcY3r3HAQZ/0su5uEQMGj5PMffzaWZHy3tvE RZPMR/vuxdTxlSheHXqLnfRjYdGKXT3mLnkvI95/Se+IRwam3R/FqIu585B6eqo10D 2nDXTSouPGJjF2pk8AHB3pV2a/9RFlDe+C0uI6Fu5BK8UpjOA+aipH+UhwwN88GbCm ksGE8MEPl2ebyb/2TV5eH9XzgBs91rO4odXpekkIPNh+8CQPM+waUBFw7VZOd7ic26 i1aojMNwtfC+A== To: alpine-aports@lists.alpinelinux.org Cc: Bart Ribbers Subject: [PATCH] testing/marisa-trie: improved architecture checking switch Date: Sat, 7 Sep 2019 22:46:40 +0200 Message-Id: <20190907204640.1209-1-bribbers@disroot.org> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit 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