Index: tools/gcmole/gcmole.lua |
diff --git a/tools/gcmole/gcmole.lua b/tools/gcmole/gcmole.lua |
index 833d4c1b08a7dc8252ca2196b5ea496385137e71..d287f7b9122bf3d32e7bf02c04f7ccd8761e4be5 100644 |
--- a/tools/gcmole/gcmole.lua |
+++ b/tools/gcmole/gcmole.lua |
@@ -98,7 +98,7 @@ local function MakeClangCommandLine(plugin, plugin_args, triple, arch_define) |
end |
plugin_args = " " .. table.concat(plugin_args, " ") |
end |
- return CLANG_BIN .. "/clang++ -c " |
+ return CLANG_BIN .. "/clang++ -std=c++11 -c " |
.. " -Xclang -load -Xclang " .. CLANG_PLUGINS .. "/libgcmole.so" |
.. " -Xclang -plugin -Xclang " .. plugin |
.. (plugin_args or "") |