#!/bin/sh -e

#Force simple CFLAGS and override LDFLAGS to ensure successful build
LDFLAGS=$(echo $LDFLAGS|sed 's/-pie//')
CFLAGS="-O2 -w -pipe "
CXXFLAGS="$CFLAGS"

./configure \
   --prefix=/usr

make
make DESTDIR="$1" install
