krytarowski added inline comments.
================ Comment at: FreeBSD.cpp:139 + CmdArgs.push_back("--no-as-needed"); + CmdArgs.push_back("-lpthread"); + CmdArgs.push_back("-lrt"); ---------------- devnexen wrote: > krytarowski wrote: > > `-pthread`? > Did not seem needed maybe it s different for NetBSD ? ``` -pthread Adds support for multithreading with the pthreads library. This option sets flags for both the preprocessor and linker. ``` From gcc(1). `-lpthread` looks like an alias, but `-pthread` is preferred. A system library does not need to be called `libpthread.so` or so, and it's not named this way on FreeBSD. Repository: rC Clang https://reviews.llvm.org/D43279 _______________________________________________ cfe-commits mailing list firstname.lastname@example.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits