From: Gabriel C Date: Wed, 21 May 2008 18:36:19 +0000 (+0200) Subject: scripts/ver_linux use 'gcc -dumpversion' X-Git-Tag: v2.6.26-rc4~8^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=656a3f797889dafcce2f5b8b222ad66e9974b6f7;p=pandora-kernel.git scripts/ver_linux use 'gcc -dumpversion' These magic greps and hacks in ver_linux to get the gcc version always break after some gcc releases. Since now gcc >4.3 allows compiling with '--with-pkgversion' ( which can be everything 'My Cool Gcc' or something ) ver_linux will report random junk for these. Simply use 'gcc -dumpversion' to get the gcc version which should always work. Signed-off-by: Gabriel C Signed-off-by: Andrew Morton Signed-off-by: Sam Ravnborg --- Reading git-diff-tree failed