Date: Mon, 31 May 2010 21:34:39 +0200 From: Rene Ladan <rene@freebsd.org> To: kde@freebsd.org Cc: freebsd ports <freebsd-ports@freebsd.org> Subject: devel/cmake bug: "-pthread; -D_THREAD_SAFE" emitted instead of "-pthread -D_THREAD_SAFE" Message-ID: <4C040F4F.1010709@freebsd.org>
next in thread | raw e-mail | index | archive | help
Hi, 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. Regards, Rene -- http://www.rene-ladan.nl/ GPG fingerprint = ADBC ECCD EB5F A6B4 549F 600D 8C9E 647A E564 2BFC (subkeys.pgp.net)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C040F4F.1010709>