]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/30_threads/shared_lock/locking/4.cc
Fix libstdc++ testsuite to handle VxWorks gthreads implementation
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 30_threads / shared_lock / locking / 4.cc
index 46e060b98b85b4e608d55d0965a87b23e37f1f99..0574995417a5b6354c21b1b09c000ab8c922d8a8 100644 (file)
@@ -1,7 +1,7 @@
 // { dg-do run }
-// { dg-options "-pthread"  }
+// { dg-additional-options "-pthread" { target pthread } }
 // { dg-require-effective-target c++14 }
-// { dg-require-effective-target pthread }
+// { dg-require-gthreads "" }
 
 // Copyright (C) 2013-2020 Free Software Foundation, Inc.
 //