aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2022-02-13 23:34:08 +0100
committerJakub Jirutka <jakub@jirutka.cz>2022-02-14 00:10:17 +0000
commit1d20ad42a83d7cff38e1611f1cc198a877d8ff39 (patch)
treebb2d40866542866393b3adc730bd9011e59c418c
parent9d4e106c0bed163b73d6369a5cccae26bda2f2d3 (diff)
downloadaports-1d20ad42a83d7cff38e1611f1cc198a877d8ff39.tar.gz
aports-1d20ad42a83d7cff38e1611f1cc198a877d8ff39.tar.bz2
aports-1d20ad42a83d7cff38e1611f1cc198a877d8ff39.tar.xz
community/binaryen: build with Ninja and CMAKE_BUILD_TYPE=Release
-rw-r--r--community/binaryen/APKBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/community/binaryen/APKBUILD b/community/binaryen/APKBUILD
index 20d4f59551..3cc004e579 100644
--- a/community/binaryen/APKBUILD
+++ b/community/binaryen/APKBUILD
@@ -7,7 +7,7 @@ pkgdesc="Compiler infrastructure and toolchain library for WebAssembly, in C++"
url="https://github.com/WebAssembly/binaryen"
arch="all !s390x"
license="Apache-2.0"
-makedepends="cmake python3"
+makedepends="cmake python3 samurai"
checkdepends="filecheck llvm-test-utils nodejs"
subpackages="$pkgname-dev"
source="https://github.com/WebAssembly/binaryen/archive/version_$pkgver/binaryen-$pkgver.tar.gz"
@@ -18,8 +18,8 @@ case "$CARCH" in
esac
build() {
- cmake -B build \
- -DCMAKE_BUILD_TYPE=MinSizeRel \
+ cmake -G Ninja -B build \
+ -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_VERBOSE_MAKEFILE=ON \