ergawy wrote: > Hi @ergawy , thanks for this contribution! Could you add a test that would > demonstrate compilation failing without `-pthread`?
Thanks for the suggestion. Actually I failed to do that 😆. After looking into it, seem that for the GNU toolchain, the `-pthread` flag would be redundant. That reason is that the pthread API is defined by `libc` which is linked in by the driver by default. I think I will abandon this PR then. Just need to double check once more. https://github.com/llvm/llvm-project/pull/75739 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits