From 998c752385bca2c077d9ae2ac4b2b5ab1e65b2a2 Mon Sep 17 00:00:00 2001 From: tranzystorekk Date: Mon, 8 Jul 2024 09:00:56 +0200 Subject: [PATCH] common/build_style/zig-build.sh: update for zig 0.13 --- common/build-style/zig-build.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/common/build-style/zig-build.sh b/common/build-style/zig-build.sh index 205c4cadf53..20d5d28e355 100644 --- a/common/build-style/zig-build.sh +++ b/common/build-style/zig-build.sh @@ -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} }