ia64/xen-unstable

changeset 18387:c3f73c6f2266

More precise regexp to extract version line from 'gcc -v'.

Reported by Robert Buchholz <rbu@gentoo.org>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Aug 27 09:57:53 2008 +0100 (2008-08-27)
parents e827b524772c
children 2986c11b7edf
files xen/Makefile
line diff
     1.1 --- a/xen/Makefile	Wed Aug 27 09:48:39 2008 +0100
     1.2 +++ b/xen/Makefile	Wed Aug 27 09:57:53 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 | grep -i "gcc .*version ")!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' \