summaryrefslogtreecommitdiffstats
path: root/libcxx/test
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test')
-rw-r--r--libcxx/test/lit.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/test/lit.cfg b/libcxx/test/lit.cfg
index ff308b6ea7d..5e57cd6c1f5 100644
--- a/libcxx/test/lit.cfg
+++ b/libcxx/test/lit.cfg
@@ -431,7 +431,7 @@ class Configuration(object):
san = self.get_lit_conf('llvm_use_sanitizer', '').strip()
if san:
self.compile_flags += ['-fno-omit-frame-pointer']
- if not sys.platform.startswith('freebsd'):
+ if sys.platform == 'linux2':
self.link_flags += ['-ldl']
if san == 'Address':
self.compile_flags += ['-fsanitize=address']
OpenPOWER on IntegriCloud