Tweak testit to better handle OPTIONS

This commit is contained in:
Howard Hinnant 2015-08-10 20:59:29 -04:00
parent 5c7692be4f
commit a2ac8a8003

View File

@ -30,11 +30,7 @@ if [ -z "$CXX_LANG" ]
then
CXX_LANG=c++14
fi
if [ -z "$OPTIONS" ]
then
OPTIONS="-std=${CXX_LANG}"
fi
OPTIONS="$OPTIONS -I$ROOT"
OPTIONS="-std=${CXX_LANG} $OPTIONS -I$ROOT"
case $TRIPLE in
*-*-mingw* | *-*-cygwin* | *-*-win*)