diff options
Diffstat (limited to 'compiler-rt/lib/lit.common.cfg')
| -rw-r--r-- | compiler-rt/lib/lit.common.cfg | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler-rt/lib/lit.common.cfg b/compiler-rt/lib/lit.common.cfg index 16ba0761e54..4c148b21e8e 100644 --- a/compiler-rt/lib/lit.common.cfg +++ b/compiler-rt/lib/lit.common.cfg @@ -42,8 +42,10 @@ if (not llvm_tools_dir) or (not os.path.exists(llvm_tools_dir)): path = os.path.pathsep.join((llvm_tools_dir, config.environment['PATH'])) config.environment['PATH'] = path -# Define %clang substitution to use in test RUN lines. +# Define %clang and %clangxx substitutions to use in test RUN lines. config.substitutions.append( ("%clang ", (" " + config.clang + " ")) ) +config.substitutions.append( ("%clangxx ", (" " + config.clang + + " -ccc-clang-cxx -ccc-cxx ")) ) # Use ugly construction to explicitly prohibit "clang", "clang++" etc. # in RUN lines. |

