#!/bin/sh
# DF-2685 build: compile the trigger in the guest (as root, base cc).
# Guest: DragonFly dfbsd 6.5-DEVELOPMENT #0 X86_64_GENERIC, INVARIANTS kernel.
set -e
mkdir -p /tmp/mt
cc -O2 -o /tmp/mt/mlockswap mlockswap.c
echo "built /tmp/mt/mlockswap"