From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:33913) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TYc9X-0003y8-Ny for qemu-devel@nongnu.org; Wed, 14 Nov 2012 07:33:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TYc9U-0007aG-Kx for qemu-devel@nongnu.org; Wed, 14 Nov 2012 07:33:11 -0500 Received: from mx1.redhat.com ([209.132.183.28]:44344) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TYc9U-0007a7-D8 for qemu-devel@nongnu.org; Wed, 14 Nov 2012 07:33:08 -0500 Message-ID: <50A38F81.4090308@redhat.com> Date: Wed, 14 Nov 2012 13:33:05 +0100 From: Gerd Hoffmann MIME-Version: 1.0 References: <1352796133-956-1-git-send-email-kraxel@redhat.com> <1352796133-956-2-git-send-email-kraxel@redhat.com> <50A28A25.6050500@weilnetz.de> <50A358FE.6000101@redhat.com> In-Reply-To: <50A358FE.6000101@redhat.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 1/6] pixman: add output dir to include path List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil Cc: Peter Maydell , qemu-devel@nongnu.org On 11/14/12 09:40, Gerd Hoffmann wrote: >>> >> + pixman_cflags="-I${source_path}/pixman/pixman -I$(pwd)/pixman/pixman" >>> >> + pixman_libs="-L$(pwd)/pixman/pixman/.libs -lpixman-1" >> > >> > I'd prefer \$(BUILD_DIR) instead of $(pwd) for cflags and libs >> > because it allows moving the build directory. > It isn't that simple. Blue Swirl had it that way initially. The > problem is that pixman_cflags is added to QEMU_CFLAGS, which in turn is > used by configure script checks too, which then blow up because make and > shell interpret "$(BUILD_DIR)" in different ways ... Moving the lines which update QEMU_CFLAGS down the road, after all configure checks works though. cheers, Gerd