Add zcutil/build.sh script.

This commit is contained in:
Taylor Hornby 2015-11-24 12:23:36 -07:00
parent 7e278929df
commit 168519e2b1
1 changed files with 12 additions and 0 deletions

12
zcutil/build.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/sh
set -ex
cd "$(dirname "$(readlink -f "$0")")/.."
# BUG: parameterize the platform/host directory:
PREFIX="$(pwd)/depends/x86_64-unknown-linux-gnu/"
make "$@" -C ./depends/ V=1 NO_QT=1
./autogen.sh
./configure --prefix="${PREFIX}" --with-gui=no CXXFLAGS='-O0 -g'
make "$@" V=1