python-native: Fix a compiler finding issue
authorMei Lei <lei.mei@intel.com>
Thu, 28 Jul 2011 07:20:36 +0000 (15:20 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 8 Aug 2011 12:41:19 +0000 (13:41 +0100)
commite6ec466918a86e9ff5891fca904daca1330320fe
tree76100be5f8d9534bda4c621ad0120fe97b71661a
parent70751c5f4045c42f11dcaf766b8e2ed9d58a1002
python-native: Fix a compiler finding issue

The CC variable sometimes add option information after compiler name, but python can't get the real compiler name if those information added.
Fix this issue by dropping the option information when finding compiler name.

(From OE-Core rev: 461df79fbb655e4c6894d9a9e9ce52656b96303d)

Signed-off-by: Mei Lei <lei.mei@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python-native/unixccompiler.patch [new file with mode: 0644]
meta/recipes-devtools/python/python-native_2.6.6.bb