Subject: Re: pthreads instead of pthread
To: None <email@example.com>
From: Jukka Salmi <firstname.lastname@example.org>
Date: 03/31/2004 01:41:17
Jukka Salmi --> tech-pkg (2004-03-30 23:18:09 +0200):
> using current pkgsrc on a i386 NetBSD 2.0A system, I can't build x11/gtk2
> at the moment (see pkg/24972). I'm getting errors like
> gcc: unrecognized option `-pthreads'
I just noticed the same error message is output when building
devel/glib2; however, building doesn't fail.
If I comment out line 145 in pkgsrc/mk/pthread.buildlink3.mk
(BUILDLINK_PACKAGES+= pthread) the problem is gone, i.e. gcc
is never called with the -pthreads option. That line was added
12 days ago...
$ ((RANDOM%6)) || rm -rf ~