From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:35987) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFVGo-00026Y-Rt for qemu-devel@nongnu.org; Thu, 28 Apr 2011 13:44:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QFVGn-0005Sr-Vv for qemu-devel@nongnu.org; Thu, 28 Apr 2011 13:44:54 -0400 Received: from moutng.kundenserver.de ([212.227.126.187]:57800) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFVGn-0005Sk-JL for qemu-devel@nongnu.org; Thu, 28 Apr 2011 13:44:53 -0400 Message-ID: <4DB9A78F.3000006@mail.berlios.de> Date: Thu, 28 Apr 2011 19:44:47 +0200 From: Stefan Weil MIME-Version: 1.0 References: <1304010495-18136-1-git-send-email-weil@mail.berlios.de> <4DB9A644.6000802@codemonkey.ws> In-Reply-To: <4DB9A644.6000802@codemonkey.ws> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] virtio-9p: Fix compilation (wrong include statements) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Anthony Liguori , Stefan Weil , Venkateswararao Jujjuri , QEMU Developers , "Aneesh Kumar K.V" Am 28.04.2011 19:39, schrieb Anthony Liguori: > On 04/28/2011 12:08 PM, Stefan Weil wrote: >> From: Stefan Weil >> >> Commit 353ac78d495ef976242abd868f68d78420861c2c moved the files >> without fixing the include paths. >> >> Signed-off-by: Stefan Weil > > > This is not correct. I think we learned in IRC that the problem is > Stefan is using CFLAGS=-g which overrides the CFLAGS append added by > this patch. > > Regards, > > Anthony Liguori QEMU Makefiles use QEMU_CFLAGS - setting CFLAGS in Makefile* is wrong, because now users can no longer set their own CFLAGS. The special CFLAGS for virtio should be removed (with my patch applied first). The second best solution would be changing CFLAGS to QEMU_CFLAGS in Makefile.objs and Makefile.target. Regards, Stefan