#!/usr/bin/env bash
set -e
set -x

THISDIR=`dirname $0`
source ${THISDIR}/build-vars.sh

set -e
if [ -f Makefile ]; then
    make clean
fi
EXTRA_ARGS=
if [ ! -z "$EXM_OPT_BUILD" ]; then
    EXTRA_ARGS+="--enable-fast"
fi
rm -rf ./config.status ./autom4te.cache
./setup.sh
./configure --enable-shared --prefix=${C_UTILS_INST} ${EXTRA_ARGS} CC=gcc
make -j ${MAKE_PARALLELISM}
make install

#!/usr/bin/env bash
set -e
set -x

THISDIR=`dirname $0`
source ${THISDIR}/build-vars.sh

set -e
if [ -f Makefile ]; then
    make clean
fi
EXTRA_ARGS=
if [ ! -z "$EXM_OPT_BUILD" ]; then
    EXTRA_ARGS+="--enable-fast"
fi
rm -rf ./config.status ./autom4te.cache

if [ ! -z "$EXM_DEBUG_BUILD" ]; then
   export CFLAGS="-g -O0" 
fi

./setup.sh
./configure --enable-shared --prefix=${C_UTILS_INST} ${EXTRA_ARGS} CC=gcc
make -j ${MAKE_PARALLELISM}
make install

Add debug build option for c-utils
Add debug build option for c-utils

git-svn-id: f4b26cf27632231e98e31e0a7940ffb3ce3b0279@6381 dc4e9af1-7f46-4ead-bba6-71afc04862de
