We need g++5 for C++11 with codecvt.

This commit is contained in:
Mike Lischke 2016-11-09 10:54:00 +01:00
parent 5d783bf82e
commit dbaf5189bc
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++"); // Also try cc
prop = locateTool("g++5");
File file = new File(prop);
if(!file.exists())
throw new RuntimeException("Missing system property:" + propName);