GNOME Bugzilla – Bug 721996
Do not consider neither clang nor uclibc toolchain as Microsoft C++ compiler
Last modified: 2015-02-07 16:58:02 UTC
Created attachment 266007 [details] Patch to not consider clang or uclibc toolchain as MS C++ compiler gobject-instrospection 1.36.0 fails to build on uclibc systems because the name "uclibc" contains "cl", which also the executable name of the MS C++ compiler. There is also an incompatibility with LLVM clang. The problem is already reported on Gentoo Bugzilla, and a GNOME team member asked me to report this upstream.
This adds: if 'clang' not in self._compiler_cmd: over: https://git.gnome.org/browse/gobject-introspection/commit/?id=863ceb7f5a5b5f6accfea23dcd47b5c74a53f68b
You meant This adds: if 'uclibc' not in self._compiler_cmd: right?
Yeah, I displaced by touchpad by error while selecting ;)
This patch no longer applies and I'm pretty sure this bug is already fixed. The current code splits out the arguments and then checks if one is exactly equal to 'cl' or 'cl.exe'. This should therefore no longer hit clang or anything else with 'cl' in the name. *** This bug has been marked as a duplicate of bug 698090 ***
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]