common/build_style/zig-build.sh: update for zig 0.13
This commit is contained in:
parent
439cb0a5b1
commit
998c752385
|
@ -29,10 +29,15 @@ do_build() {
|
|||
# We use zig-out to avoid path conflicts as it is the default install
|
||||
# prefix used by the zig build system.
|
||||
DESTDIR="zig-out" zig build \
|
||||
-j"${XBPS_MAKEJOBS}" \
|
||||
--sysroot "${XBPS_CROSS_BASE}" \
|
||||
--search-prefix "${XBPS_CROSS_BASE}/usr" \
|
||||
--prefix /usr \
|
||||
--global-cache-dir /host/zig \
|
||||
--libc xbps_zig_libc.txt \
|
||||
--release=safe \
|
||||
-Dtarget="${zig_target}" -Dcpu="${zig_cpu}" \
|
||||
-Drelease-safe --prefix /usr install \
|
||||
install \
|
||||
${configure_args}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue