[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] xen/Makefile: use CC --version instead of -v

  • To: Robert Buchholz <rbu@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
  • Date: Wed, 27 Aug 2008 09:56:06 +0100
  • Cc:
  • Delivery-date: Wed, 27 Aug 2008 01:56:32 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AckIIr2f+/Yk+HQVEd2YpwAX8io7RQ==
  • Thread-topic: [Xen-devel] [PATCH] xen/Makefile: use CC --version instead of -v

On 27/8/08 00:06, "Robert Buchholz" <rbu@xxxxxxxxxx> wrote:

> I propose to change the statement to:
>   $(CC) $(CFLAGS) --version | head -n1

I think we can just tighten up the grep regexp a little.

"gcc .*version " should do it.

 -- Keir

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.