http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52681
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|minor |enhancement --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-03-23 12:31:38 UTC --- The problem is that not all targets need -pthread, or some which do need it spell it differently, and not all platforms define _REENTRANT when the option is used, so there's no reliable way to do what you're asking for.