#!/bin/sh # Cross-compile bokfd/bokfctl/bokftui for aarch64. Expects the source # read-only at /src, writes the binaries to /out and takes the version from # $VERSION. Run through deploy/Dockerfile.cross. set -eu make -C /src -j"$(nproc)" BUILD=/tmp/build \ CC=aarch64-linux-gnu-gcc \ CFLAGS="-O2 -g -L/usr/lib/aarch64-linux-gnu" \ VERSION="${VERSION:-0.1.0-dev}" mkdir -p /out cp /tmp/build/bokfd /tmp/build/bokfctl /tmp/build/bokftui /out/