]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
diffstat: fix wrong evaluation of CC
authorKai Kang <kai.kang@windriver.com>
Tue, 15 May 2018 09:17:01 +0000 (17:17 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 22 May 2018 12:09:03 +0000 (13:09 +0100)
commitc330036e1e6151246b736f88f7412e9e4ac38d5f
treef4a9c8f4de6b7b76aac190656a5a800d5e4a0bd4
parente54b641a8de962b7df861f0ee7490e6da4ddebe9
diffstat: fix wrong evaluation of CC

diffstat checks variable CC. If options '-I', '-U' or '-D' is included
in CC, variable CC will be wrongly filtered and only such as
'mips64-wrsmllibn32-linux-gnun32-gcc' left. It shows warning message
during configure:

| checking $CC variable...broken
| configure: WARNING: your environment misuses the CC variable to hold CFLAGS/CPPFLAGS options

Disable such check for OE.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/diffstat/diffstat/avoid-check-user-break-cc.patch [new file with mode: 0644]
meta/recipes-devtools/diffstat/diffstat_1.61.bb