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 then
CXX_LANG=c++14 CXX_LANG=c++14
fi fi
if [ -z "$OPTIONS" ] OPTIONS="-std=${CXX_LANG} $OPTIONS -I$ROOT"
then
OPTIONS="-std=${CXX_LANG}"
fi
OPTIONS="$OPTIONS -I$ROOT"
case $TRIPLE in case $TRIPLE in
*-*-mingw* | *-*-cygwin* | *-*-win*) *-*-mingw* | *-*-cygwin* | *-*-win*)