#!/bin/sh
# DF-0832 build script — compiles the userspace harness.
# Run as the unprivileged user (maxx) on the DragonFlyBSD guest.
set -e
cd "$(dirname "$0")"
echo "+ cc -O2 -Wall -o harness harness.c"
cc -O2 -Wall -o harness harness.c
echo "BUILD_EXIT=$?"
ls -l harness