#!/bin/sh
#./configure --with-debug --installroot=./intall --binmode=755 --daemonmode=755 --with-c-compiler=mxscale_be-gcc --with-c++-compiler=mxscale_be-g++
CFLAGS=-D_GNU_SOURCE ./configure --with-debug --installroot=$PWD/install --binmode=755 --daemonmode=755 --with-c-compiler=mxscaleb-gcc --with-c++-compiler=mxscaleb-g++
make
make install
mxscaleb-strip ./install/usr/sbin/* ./install/usr/bin/*
