summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/asan/lit.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/test/asan/lit.cfg')
-rw-r--r--compiler-rt/test/asan/lit.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/asan/lit.cfg b/compiler-rt/test/asan/lit.cfg
index ad9786f3eae..ac88223b82f 100644
--- a/compiler-rt/test/asan/lit.cfg
+++ b/compiler-rt/test/asan/lit.cfg
@@ -26,7 +26,7 @@ config.test_source_root = os.path.dirname(__file__)
# GCC-ASan doesn't link in all the necessary libraries automatically, so
# we have to do it ourselves.
if config.compiler_id == 'GNU':
- extra_linkflags = ["-lpthread", "-lstdc++", "-ldl"]
+ extra_linkflags = ["-pthread", "-lstdc++", "-ldl"]
else:
extra_linkflags = []
# Setup default compiler flags used with -fsanitize=address option.
OpenPOWER on IntegriCloud