Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Sep 2003 11:37:06 -0400
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        tokza <postfix@sendmail.ru>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: -pthread is deprecated
Message-ID:  <20030914153706.GD93697@toxic.magnesium.net>
In-Reply-To: <200309141925.39844.postfix@sendmail.ru>
References:  <200309141925.39844.postfix@sendmail.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
>> (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@vectors.cx	>>  http://www.vectors.cx
magnesium.net	<<  adamw@magnesium.net	<<  http://www.magnesium.net/~adamw
FreeBSD		>>  adamw@FreeBSD.org	>>  http://people.freebsd.org/~adamw
#vim:set ts=8: 8-char tabs prevent tooth decay.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030914153706.GD93697>