ia64/xen-unstable

changeset 18391:6c6bda7f09cd

Use 'gcc -v 2>&1 | tail -1' to extract gcc version.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Aug 27 11:47:02 2008 +0100 (2008-08-27)
parents 14a9a1629590
children 070688cdf62c
files xen/Makefile
line diff
     1.1 --- a/xen/Makefile	Wed Aug 27 10:26:50 2008 +0100
     1.2 +++ b/xen/Makefile	Wed Aug 27 11:47:02 2008 +0100
     1.3 @@ -87,7 +87,7 @@ include/xen/compile.h: include/xen/compi
     1.4  	    -e 's/@@whoami@@/$(XEN_WHOAMI)/g' \
     1.5  	    -e 's/@@domain@@/$(XEN_DOMAIN)/g' \
     1.6  	    -e 's/@@hostname@@/$(shell hostname)/g' \
     1.7 -	    -e 's!@@compiler@@!$(shell $(CC) $(CFLAGS) -v 2>&1 | grep -i "gcc .*version ")!g' \
     1.8 +	    -e 's!@@compiler@@!$(shell $(CC) $(CFLAGS) -v 2>&1 | tail -1)!g' \
     1.9  	    -e 's/@@version@@/$(XEN_VERSION)/g' \
    1.10  	    -e 's/@@subversion@@/$(XEN_SUBVERSION)/g' \
    1.11  	    -e 's/@@extraversion@@/$(XEN_EXTRAVERSION)/g' \