aboutsummaryrefslogtreecommitdiff
path: root/compiler-rt/test/ctx_profile/lit.cfg.py
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/test/ctx_profile/lit.cfg.py')
-rw-r--r--compiler-rt/test/ctx_profile/lit.cfg.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler-rt/test/ctx_profile/lit.cfg.py b/compiler-rt/test/ctx_profile/lit.cfg.py
index a56dabb..bf62093 100644
--- a/compiler-rt/test/ctx_profile/lit.cfg.py
+++ b/compiler-rt/test/ctx_profile/lit.cfg.py
@@ -29,3 +29,7 @@ config.name = "CtxProfile" + config.name_suffix
config.test_source_root = os.path.dirname(__file__)
# Default test suffixes.
config.suffixes = [".c", ".cpp", ".test"]
+
+config.substitutions.append(
+ ("%clangxx ", " ".join([config.clang] + config.cxx_mode_flags) + " -ldl -lpthread ")
+)