gcc-common: Don't use "is" for comparing strings, use "=="
authorKartik Mohta <kartikmohta@gmail.com>
Wed, 4 Jul 2012 03:21:07 +0000 (23:21 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 9 Jul 2012 15:58:56 +0000 (16:58 +0100)
commitb626c156b1bbc470605299b270a41b1de74aef8b
tree4ab59c70c1ba049a34c4a3c002c3d5d3ef261d53
parent4b033e403272668057f103ca81fb6042097eb792
gcc-common: Don't use "is" for comparing strings, use "=="

Needed because the equality check was failing here even though upon
printing the LHS and RHS were the same.
As per http://stackoverflow.com/a/2987975/64537, using "is" compares the
memory addresses of the two objects which is not what we want here. We
just want to compare the values.

(From OE-Core rev: 7fd82cc90a48302ed42b6bfa962bb0de2c652b45)

Signed-off-by: Kartik Mohta <kartikmohta@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gcc/gcc-common.inc