[MIPS] There is no __GNUC_MAJOR__
commit9998b98ae59fbd43774369a5531d6a53a1c1b889
authorAlexey Dobriyan <adobriyan@gmail.com>
Tue, 23 Jan 2007 18:30:14 +0000 (23 21:30 +0300)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 23 Jan 2007 21:44:41 +0000 (23 21:44 +0000)
tree4f7848a4ae308de74ccc7ad46550edfa085e0235
parent2e08bad4df22cd9d44a318152a8b1bcf7ff262a2
[MIPS] There is no __GNUC_MAJOR__

Gcc major version number is in __GNUC__. As side effect fix checking
with sparse if sparse was built with gcc 4.1 and mips cross-compiler
is 3.4.

Sparse will inherit version 4.1, __GNUC__ won't be filtered from
"-dM -E -xc" output, sparse will pick only new major, effectively becoming
gcc version 3.1 which is unsupported.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Makefile