abeserminji added a comment. @atanasyan That looks good. I tried to make an equivalent for the Makefile
--- SingleSource/UnitTests/C++11/Makefile (revision 351547) +++ SingleSource/UnitTests/C++11/Makefile (working copy) @@ -4,6 +4,11 @@ CPPFLAGS += -std=c++11 -pthread +ifeq (-static, $(findstring -static, $(TARGET_FLAGS))) +#PROGRAMS_TO_SKIP += stdthreadbug +LDFLAGS += -Wl,--whole-archive -lpthread -Wl,--no-whole-archive +endif + ifdef BENCHMARKING_ONLY PROGRAMS_TO_SKIP += stdthreadbug endif As an option, we can provide necessary flags for the test to finish successfully instead of not testing it. Repository: rC Clang CHANGES SINCE LAST ACTION https://reviews.llvm.org/D56836/new/ https://reviews.llvm.org/D56836 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits