* update wasi-compiler-rt to 16.0.6-2

This commit is contained in:
Alexander Baldeck 2023-10-12 19:08:28 +02:00
parent fb5c60d2c7
commit 0cb39628e3

View File

@ -3,7 +3,7 @@
pkgname=wasi-compiler-rt
pkgver=16.0.6
pkgrel=1
pkgrel=2
pkgdesc='WASI LLVM compiler runtime'
arch=(any)
url='https://compiler-rt.llvm.org/'
@ -51,7 +51,7 @@ build() {
-DCOMPILER_RT_OS_DIR=wasi \
-DWASI_SDK_PREFIX=/usr \
-DCMAKE_C_FLAGS="-fno-exceptions --sysroot=/usr/share/wasi-sysroot" \
-DCMAKE_INSTALL_PREFIX=/usr/lib/clang/16/ \
-DCMAKE_INSTALL_PREFIX=/usr/lib/clang/${pkgver%%.*}/ \
compiler-rt-${pkgver}.src/lib/builtins
cmake --build build -v
}