]> code.ossystems Code Review - openembedded-core.git/commit
icecc.bbclass: Disable caret workaround by default
authorJoshua Watt <jpewhacker@gmail.com>
Mon, 12 Feb 2018 16:52:10 +0000 (10:52 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 15 Feb 2018 13:24:10 +0000 (13:24 +0000)
commita1488291c5733a113c28475352eded61bf52bfe8
tree967dc91af5eace6a79b8d244a49d18dc8dc431dc
parentdea45ac88251b22b0b74dc4b3ba6ca13fe0b86d6
icecc.bbclass: Disable caret workaround by default

Icecream has a behavior that causes it to recompile files locally if gcc
generates any warnings or errors. The reason for this is that GCC tries
to re-read the input file in order to display the offending line with a
caret below it, which doesn't work in the remote chroot.

Default to disabling this this workaround and add
-fno-diagnostics-show-caret to the GCC flags so that errors and warnings
generated by GCC do not show erroneous results.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/icecc.bbclass