From patchwork Mon Apr 26 21:52:23 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nathan Froyd X-Patchwork-Id: 51009 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id B64A6B7D5D for ; Tue, 27 Apr 2010 07:56:58 +1000 (EST) Received: from localhost ([127.0.0.1]:42447 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O6WFP-0003HY-3R for incoming@patchwork.ozlabs.org; Mon, 26 Apr 2010 17:53:47 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O6WE9-0003CL-Nz for qemu-devel@nongnu.org; Mon, 26 Apr 2010 17:52:29 -0400 Received: from [140.186.70.92] (port=42449 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O6WE8-00038n-7B for qemu-devel@nongnu.org; Mon, 26 Apr 2010 17:52:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O6WE6-0003Fs-LN for qemu-devel@nongnu.org; Mon, 26 Apr 2010 17:52:28 -0400 Received: from mx20.gnu.org ([199.232.41.8]:16461) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6WE6-0003Fo-IJ for qemu-devel@nongnu.org; Mon, 26 Apr 2010 17:52:26 -0400 Received: from mail.codesourcery.com ([38.113.113.100]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1O6WE5-0000xb-UY for qemu-devel@nongnu.org; Mon, 26 Apr 2010 17:52:26 -0400 Received: (qmail 1612 invoked from network); 26 Apr 2010 21:52:23 -0000 Received: from unknown (HELO localhost) (froydnj@127.0.0.2) by mail.codesourcery.com with ESMTPA; 26 Apr 2010 21:52:23 -0000 From: Nathan Froyd To: qemu-devel@nongnu.org Date: Mon, 26 Apr 2010 14:52:23 -0700 Message-Id: <1272318743-17113-1-git-send-email-froydnj@codesourcery.com> X-Mailer: git-send-email 1.6.3.2 X-detected-operating-system: by mx20.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Cc: pbonzini@redhat.com Subject: [Qemu-devel] [PATCH] fix whitespace bogon in some versions of make X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org With three different make binaries I have available, configuring a pristine QEMU tree and attempting to make gives the cryptic: Makefile:27: *** missing separator. Stop. This patch fixes it (presumably because it makes the output of `set-vpath' be an empty string, rather than a bit of whitespace), but I don't understand why this hasn't been a problem for other folks before. Signed-off-by: Nathan Froyd Acked-by: Paolo Bonzini --- rules.mak | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/rules.mak b/rules.mak index 5941b73..7e10432 100644 --- a/rules.mak +++ b/rules.mak @@ -40,7 +40,7 @@ cc-option = $(if $(shell $(CC) $1 $2 -S -o /dev/null -xc /dev/null \ >/dev/null 2>&1 && echo OK), $2, $3) VPATH_SUFFIXES = %.c %.h %.S %.m %.mak %.texi -set-vpath = $(if $1,$(foreach PATTERN,$(VPATH_SUFFIXES), $(eval vpath $(PATTERN) $1))) +set-vpath = $(if $1,$(foreach PATTERN,$(VPATH_SUFFIXES),$(eval vpath $(PATTERN) $1))) # Generate timestamp files for .h include files