summaryrefslogtreecommitdiff
path: root/test/sanitizer_common/lit.common.cfg
diff options
context:
space:
mode:
authorGreg Fitzgerald <gregf@codeaurora.org>2014-05-20 22:04:27 +0000
committerGreg Fitzgerald <gregf@codeaurora.org>2014-05-20 22:04:27 +0000
commit241a73bcc3de103d7729859b79079d222dc0f78f (patch)
tree92c2b288ea1d397fb8890cc518d3d6f09ac9001a /test/sanitizer_common/lit.common.cfg
parentbc08a8557341efc22de8fc168f9fa53e851e8224 (diff)
Run common and profile tests in cross-compiled builds.
Route target_cflags to common and profile tests git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@209248 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/sanitizer_common/lit.common.cfg')
-rw-r--r--test/sanitizer_common/lit.common.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sanitizer_common/lit.common.cfg b/test/sanitizer_common/lit.common.cfg
index 86c9d33d9..b4a2f3cad 100644
--- a/test/sanitizer_common/lit.common.cfg
+++ b/test/sanitizer_common/lit.common.cfg
@@ -14,7 +14,7 @@ elif config.tool_name == "msan":
else:
lit_config.fatal("Unknown tool for sanitizer_common tests: %r" % config.tool_name)
-clang_cflags = ["-g"] + tool_cflags
+clang_cflags = ["-g"] + tool_cflags + [config.target_cflags]
clang_cxxflags = config.cxx_mode_flags + clang_cflags
def build_invocation(compile_flags):