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 ?
           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 `` or so, and it's not 
named this way on FreeBSD.

  rC Clang

cfe-commits mailing list

Reply via email to