commit | 48c35b2d245fffedadce62769aafea8ecf493d19 | [log] [tgz] |
---|---|---|
author | Alexey Dobriyan <adobriyan@gmail.com> | Tue Jan 23 21:30:14 2007 +0300 |
committer | Ralf Baechle <ralf@linux-mips.org> | Wed Jan 24 19:23:21 2007 +0000 |
tree | bf462b1e3bcd869bd2cfcc8c8b0f8c0024f6d57d | |
parent | 419dd8378dfa32985672ab7927b4bc827f33b332 [diff] |
[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>