jinx: fix building on non-x86_64 hosts

Allows building Astral on non-x86_64 hosts (e.g. aarch64).
This commit is contained in:
techflashYT
2026-07-07 08:07:14 -07:00
parent cceac09b02
commit 3960e1c682
3 changed files with 14 additions and 3 deletions
+3 -1
View File
@@ -29,7 +29,9 @@ build() {
}
package() {
make install DESTDIR=${dest_dir}
# vim strips the installed binary with a bare `$(STRIP)`; use the cross strip
# so it works when building for x86_64 on a non-x86_64 host.
make install DESTDIR=${dest_dir} STRIP=x86_64-astral-strip
mkdir -p ${dest_dir}/bin
pushd ${dest_dir}/bin