Received: from knopi.disroot.org (knopi.disroot.org [178.21.23.139]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 72879781A59 for ; Sat, 7 Sep 2019 20:28:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 8FF37265BF for ; Sat, 7 Sep 2019 22:28:33 +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 Kh6BtKjnnjkd; Sat, 7 Sep 2019 22:28:32 +0200 (CEST) From: Bart Ribbers DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1567888112; bh=iMCRyqZwHY+HzKfPVB+UbEN7AH/l6vkuv7iMeevbEB8=; h=From:To:Cc:Subject:Date; b=AUjWX9jl7os6XXWjjfwzNrvcAdYAqjFf9abgVQy6J2QnouPRQA8IVxv/Xv3MUxLf6 PJZchQWLzwuGkcnq7VNo5YTzescNKrEk4cg0d0ZmNoq37/PQDblk6af2C/UkJWUNxM B0UKgYCTH5h8sSHJbp3UybkSQD7WdMAYwpOwgMiJPw5gkRWNIS7eeUhu5jV4FkC8T7 1/QCOEuLjQ0Oa5ILoxRtZIoDfqGD1XT95cKOfx2t5cDXGO/iZLpMQFp+0kb0TLEKpe WJ4A2jSRWL7tQJXUkGzG9wO/zRIffJvTVtN6Ftoth3EAGPnkV2OcbinZhRhENzKQoX I7T8S+8cl8Krg== To: alpine-aports@lists.alpinelinux.org Cc: Bart Ribbers Subject: [PATCH] testing/marisa-trie: fix building on non-x86 platforms Date: Sat, 7 Sep 2019 22:28:28 +0200 Message-Id: <20190907202828.10434-1-bribbers@disroot.org> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit --- 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