patch-gcc_config_openbsd-libpthread_h 499 B

1234567891011
  1. $OpenBSD: patch-gcc_config_openbsd-libpthread_h,v 1.1.1.1 2014/06/26 16:30:17 pascal Exp $
  2. --- gcc/config/openbsd-libpthread.h.orig Sun Sep 27 09:20:23 2009
  3. +++ gcc/config/openbsd-libpthread.h Sat Aug 25 09:50:23 2012
  4. @@ -18,5 +18,5 @@
  5. along with GCC; see the file COPYING3. If not see
  6. <http://www.gnu.org/licenses/>. */
  7. -#define OBSD_LIB_SPEC "%{!shared:%{pthread:-lpthread} -lc}"
  8. +#define OBSD_LIB_SPEC "%{pthread:-lpthread%{!shared:%{p|pg:_p}}} %{!shared:-lc%{p:_p}%{!p:%{pg:_p}}}"