forked from OSchip/llvm-project
[CMake] Fixing a typo in a flag
Turns out cc1's flag has 1 - not 2... llvm-svn: 256070
This commit is contained in:
parent
a948007062
commit
2281622685
|
@ -29,7 +29,7 @@ config.suffixes = ['.c', '.cpp', '.m', '.mm', '.cu', '.ll', '.cl', '.s', '.S', '
|
|||
use_lit_shell = os.environ.get("LIT_USE_INTERNAL_SHELL")
|
||||
config.test_format = lit.formats.ShTest(use_lit_shell == "0")
|
||||
config.substitutions.append( ('%clang_cpp', ' %s --driver-mode=cpp %s ' % (config.clang, sysroot_flags)))
|
||||
config.substitutions.append( ('%clang_cc1', ' %s --cc1 %s ' % (config.clang, sysroot_flags)))
|
||||
config.substitutions.append( ('%clang_cc1', ' %s -cc1 %s ' % (config.clang, sysroot_flags)))
|
||||
config.substitutions.append( ('%clang', ' %s %s ' % (config.clang, sysroot_flags) ) )
|
||||
config.substitutions.append( ('%test_root', config.test_exec_root ) )
|
||||
|
||||
|
|
Loading…
Reference in New Issue