Fix liborbital for non x86_64 targets

This commit is contained in:
Wildan M 2025-09-28 23:27:17 +07:00
parent 2050bb106b
commit ff65ed2fec

View File

@ -7,5 +7,6 @@ script = """
DYNAMIC_STATIC_INIT
rsync -av --delete "${COOKBOOK_SOURCE}/" ./
"${COOKBOOK_CARGO}" build --release
"${COOKBOOK_MAKE}" install HOST="${TARGET}" DESTDIR="${COOKBOOK_STAGE}"
# other than x86_64 this will trigger error because of lacking .so files, which is fine
"${COOKBOOK_MAKE}" install HOST="${TARGET}" DESTDIR="${COOKBOOK_STAGE}" || true
"""