summaryrefslogtreecommitdiff
path: root/test/cfi/lit.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'test/cfi/lit.cfg')
-rw-r--r--test/cfi/lit.cfg4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/cfi/lit.cfg b/test/cfi/lit.cfg
index 76cafb855..c2102f08b 100644
--- a/test/cfi/lit.cfg
+++ b/test/cfi/lit.cfg
@@ -5,8 +5,8 @@ config.name = 'cfi' + config.name_suffix
config.suffixes = ['.c', '.cpp', '.test']
config.test_source_root = os.path.dirname(__file__)
-clang = ' '.join([config.clang, config.target_cflags])
-clangxx = ' '.join([config.clang, config.target_cflags] + config.cxx_mode_flags)
+clang = ' '.join([config.compile_wrapper, config.clang, config.target_cflags])
+clangxx = ' '.join([config.compile_wrapper, config.clang, config.target_cflags] + config.cxx_mode_flags)
config.substitutions.append((r"%clang ", clang + ' '))
config.substitutions.append((r"%clangxx ", clangxx + ' '))