[PATCH] D43378: FreeBSD driver / Xray flags moving pthread to compile flags.

Kamil Rytarowski via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 16 06:36:41 PST 2018


krytarowski added a comment.

I was wrong about `-pthread` here, as we pass it directly to a linker. ld(1) accepts `-lpthread` not `-pthread`. cc(1) requires `-pthread` as it defines additional flags like `_REENTRANT` (OS-specific).


https://reviews.llvm.org/D43378





More information about the cfe-commits mailing list