-pthread is deprecated

Adam Weinberger adamw at FreeBSD.org
Sun Sep 14 08:37:07 PDT 2003


>> (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.

# Adam


--
Adam Weinberger
vectors.cx	>>  adam at vectors.cx	>>  http://www.vectors.cx
magnesium.net	<<  adamw at magnesium.net	<<  http://www.magnesium.net/~adamw
FreeBSD		>>  adamw at FreeBSD.org	>>  http://people.freebsd.org/~adamw
#vim:set ts=8: 8-char tabs prevent tooth decay.


More information about the freebsd-ports mailing list