Skip to content
Snippets Groups Projects
Commit a9bee26a authored by Bart Ribbers's avatar Bart Ribbers
Browse files

community/apitrace: temporarily allow textrels on riscv64

parent 0e0890bc
No related branches found
No related tags found
No related merge requests found
......@@ -14,16 +14,14 @@ source="https://github.com/apitrace/apitrace/archive/$pkgver/apitrace-$pkgver.ta
0001-libbacktrace-include-config.h.patch
"
[ "$CARCH" = "riscv64" ] && options="$options textrels"
build() {
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
cmake -B build \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=None \
$CMAKE_CROSSOPTS .
-DCMAKE_BUILD_TYPE=None
cmake --build build
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment