diff --git a/openmp/runtime/test/lit.cfg b/openmp/runtime/test/lit.cfg index da2d48d0a071b..528a568da4ee2 100644 --- a/openmp/runtime/test/lit.cfg +++ b/openmp/runtime/test/lit.cfg @@ -52,7 +52,8 @@ if config.with_hpxc: flags += " -I " + config.hpxc_header_directory + \ " -L " + os.path.realpath(config.hpxc_library_directory) + \ " --include=hpxc/threads.h --include=hpxc/util/wrap_main.h " + \ - " -DHPXC_HAVE_DYNAMIC_HPXC_MAIN" + " -DHPXC_HAVE_DYNAMIC_HPXC_MAIN" + \ + " -fnoopenmp-use-tls " print("with_hpxc: " + str(config.with_hpxc))