#!/bin/sh -e
# -pie in LDFLAGS breaks our build.
LDFLAGS="$(echo $LDFLAGS|sed 's/-pie//')"
make
make DESTDIR="$1" PREFIX=/usr install