xen: detect compiler version with '--version' rather than '-v'
authorTim Deegan <tim@xen.org>
Thu, 2 Aug 2012 11:04:31 +0000 (12:04 +0100)
committerTim Deegan <tim@xen.org>
Thu, 2 Aug 2012 11:04:31 +0000 (12:04 +0100)
commit5c8bff1b86a053432943c565cf69d1cf1d87c2a4
tree09b1bc858e47fb28a61f9ab4e0a21b230b6afa69
parentc2d8efd5867e091215dd84bbf4f05a9cbd7fbd1a
xen: detect compiler version with '--version' rather than '-v'

This allows us to get rid of the 'grep version', which doesn't
work with localized compilers.

Signed-off-by: Tim Deegan <tim@xen.org>
Acked-by: Keir Fraser <keir@xen.org>
Committed-by: Tim Deegan <tim@xen.org>
xen/Makefile