Commit b04158b4 authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

#3253 add --gcc44 paramter to build.check.bash refs[t:3253]

git-svn-id: file:///svn/toku/tokudb@27961 c7de825b-a66e-492c-adef-691d508d4ae1
parent 122eac93
......@@ -338,6 +338,10 @@ if [ "$arg" = "--windows=yes" -o "$arg" = "--windows=1" ] ; then
oschoice=windows
fi
# setup default compiler
if [ "$CC" = "" ] ; then export CC=gcc; fi
if [ "$CXX" = "" ] ; then export CXX=g++; fi
# import the environment
while [ $# -gt 0 ] ; do
arg=$1; shift
......@@ -349,7 +353,10 @@ while [ $# -gt 0 ] ; do
dowindows=0
elif [ "$arg" = "--windows=yes" -o "$arg" = "--windows=1" ] ; then
usage; exit 1
elif [[ "$arg" =~ "^--(.*)=(.*)" ]] ; then
elif [ $arg = "--gcc44" ] ; then
export CC=gcc44
export CXX=g++44
elif [[ $arg =~ ^--(.*)=(.*) ]] ; then
eval ${BASH_REMATCH[1]}=${BASH_REMATCH[2]}
else
usage; exit 1
......@@ -362,6 +369,9 @@ if [ $makejobs -eq 0 ] ; then usage; exit 1; fi
if [ $branch = "." ] ; then branch="toku"; fi
if [ $revision -eq 0 ] ; then revision=`get_latest_svn_revision`; fi
# setup GCCVERSION
export GCCVERSION=`$CC --version|head -1|cut -f3 -d" "`
build $bdb
exit $exitcode
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment