g++5 couldn't be found, so try clang++ instead.

This commit is contained in:
Mike Lischke 2016-11-09 11:04:28 +01:00
parent dbaf5189bc
commit b9307b548f
1 changed files with 1 additions and 1 deletions

View File

@ -707,7 +707,7 @@ public abstract class BaseCppTest {
String propName = getPropertyPrefix() + "-compiler";
String prop = System.getProperty(propName);
if(prop==null || prop.length()==0)
prop = locateTool("g++5");
prop = locateTool("clang++");
File file = new File(prop);
if(!file.exists())
throw new RuntimeException("Missing system property:" + propName);