summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/test/lit.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'openmp/runtime/test/lit.cfg')
-rw-r--r--openmp/runtime/test/lit.cfg2
1 files changed, 2 insertions, 0 deletions
diff --git a/openmp/runtime/test/lit.cfg b/openmp/runtime/test/lit.cfg
index 7f18da4b1b7..bef61d444da 100644
--- a/openmp/runtime/test/lit.cfg
+++ b/openmp/runtime/test/lit.cfg
@@ -52,6 +52,8 @@ config.test_cflags = config.test_openmp_flag + \
libs = ""
if config.has_libm:
libs += " -lm"
+if config.has_libatomic:
+ libs += " -latomic"
# Allow XFAIL to work
config.target_triple = [ ]
OpenPOWER on IntegriCloud