Date: Sat, 27 Aug 2011 22:45:49 -0300 From: Raphael Kubo da Costa <rakuco@FreeBSD.org> To: Rene Ladan <rene@freebsd.org> Cc: kde-freebsd@kde.org, freebsd ports <freebsd-ports@freebsd.org> Subject: Re: [kde-freebsd] devel/cmake bug: "-pthread; -D_THREAD_SAFE" emitted instead of "-pthread -D_THREAD_SAFE" Message-ID: <87y5yeb96a.fsf@FreeBSD.org> In-Reply-To: <4C040F4F.1010709@freebsd.org> (Rene Ladan's message of "Mon, 31 May 2010 21:34:39 %2B0200") References: <4C040F4F.1010709@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Rene Ladan <rene@freebsd.org> writes: > somehow devel/cmake outputs "-pthread;-D_THREAD_SAFE" instead of > "-pthread -D_THREAD_SAFE" to the generated Makefiles (note the semicolon). > > This means some list is passed verbatim to the compiler, causing the > shell to execute the wrong commands. I have looked into the source code > but there seems to be no relevant mention of "-D_THREAD_SAFE", nor in > /usr/include or /usr/local/include. > > A workaround of course is to patch the generated Makefiles, but it would > be nicer to fix the real problem (which does not seem to exist on most > Linux distributions). > > I'm using cmake 2.8.1, but it also happens with earlier versions. > > I don't have a testcase yet, sorry. Hey there, Do you still experience this one?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87y5yeb96a.fsf>