-pthread is deprecated
Doug Barton
DougB at FreeBSD.org
Sun Sep 14 13:31:16 PDT 2003
On Sun, 14 Sep 2003, Adam Weinberger wrote:
> >> (09.14.2003 @ 1125 PST): tokza said, in 0.5K: <<
> > hello,
> > as you know, there is no more -pthread gcc flag in -current. but many ports
> > (kde3, for example) still wants it. So what should I do to compile kde3
> > succesfully? The one way I see now is to s/-pthread/-lc_r/g in Makefiles :-)
> > maybe there is another way?
> >> end of "-pthread is deprecated" from tokza <<
>
> s/-pthread/${PTHREAD_LIBS}/ is portable.
I actually tried that when recompiling kdebase on -current, and it gave
a whole lot of warnings about something no getting stubbed in properly.
Doug
--
This .signature sanitized for your protection
More information about the freebsd-ports
mailing list