diff --git a/compiler-rt/test/tsan/libcxx_call_once.cpp b/compiler-rt/test/tsan/libcxx_call_once.cpp index 3e9e20a8e47d5ded6185a5e07136d05bea4ae239..b11e4c7af61504f1d2966ced11e7ce7d8200ecd9 100644 --- a/compiler-rt/test/tsan/libcxx_call_once.cpp +++ b/compiler-rt/test/tsan/libcxx_call_once.cpp @@ -1,4 +1,4 @@ -// RUN: %clangxx_tsan %s -o %t && %run %t 2>&1 | FileCheck %s +// RUN: %clangxx_tsan %s %link_libcxx_tsan -o %t && %run %t 2>&1 | FileCheck %s // REQUIRES: ohos_family