mkdir -p "$PREFIX" "$TMPDIR"
export TMPDIR
+export CFLAGS="-g -O2"
# Set platform variables
case "$arch" in
export BISON="bison"
export YACC="$BISON -y"
export PATH="/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
- export CFLAGS="-I/opt/local/include"
+ export CFLAGS="$CFLAGS -I/opt/local/include"
export LDFLAGS="-L/opt/local/lib"
;;
*)
mkdir -p "$PREFIX" "$TMPDIR"
export TMPDIR
+export CFLAGS="-g -O2"
# Set platform variables
case "$arch" in
export BISON="bison"
export YACC="$BISON -y"
export LDFLAGS="-L/opt/local/lib"
- export CFLAGS="-I/opt/local/include"
+ export CFLAGS="$CFLAGS -I/opt/local/include"
export PATH="/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
;;
if vergte "$PACKAGE_VERSION" "0.10"; then
CONF_OPTS="--enable-rcu-debug"
else
- export CFLAGS="${CFLAGS:} -DDEBUG_RCU"
+ export CFLAGS="$CFLAGS -DDEBUG_RCU"
fi
;;
mkdir -p "$PREFIX" "$TAPDIR"
#export TMPDIR
+CFLAGS="-g -O2"
# liburcu
URCU_INCS="$WORKSPACE/deps/liburcu/build/include/"
NPROC=gnproc
BISON="bison"
YACC="$BISON -y"
- CFLAGS="-D_XOPEN_SOURCE=500"
+ CFLAGS="$CFLAGS -D_XOPEN_SOURCE=500"
RUN_TESTS="no"
export PATH="/opt/csw/bin:/usr/ccs/bin:$PATH"
NPROC=nproc
BISON="/opt/csw/bin/bison"
YACC="$BISON -y"
- CFLAGS="-D_XOPEN_SOURCE=500"
+ CFLAGS="$CFLAGS -D_XOPEN_SOURCE=500"
RUN_TESTS="no"
export PATH="$PATH:/usr/perl5/bin"
RUN_TESTS="no"
export PATH="/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
- CFLAGS="-I/opt/local/include"
+ CFLAGS="$CFLAGS -I/opt/local/include"
LDFLAGS="-L/opt/local/lib"
;;
NPROC=nproc
BISON="bison"
YACC="$BISON -y"
- CFLAGS=""
+ #CFLAGS=""
RUN_TESTS="no"
;;
NPROC=nproc
BISON="bison"
YACC="$BISON -y"
- CFLAGS=""
+ #CFLAGS=""
RUN_TESTS="yes"
PYTHON2=python2
mkdir -p "$PREFIX" "$TMPDIR"
export TMPDIR
+export CFLAGS="-g -O2"
# Set platform variables
case "$arch" in