From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:37217) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TYC4Z-0002Th-HQ for qemu-devel@nongnu.org; Tue, 13 Nov 2012 03:42:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TYC4W-000122-Ev for qemu-devel@nongnu.org; Tue, 13 Nov 2012 03:42:19 -0500 Received: from mx1.redhat.com ([209.132.183.28]:7812) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TYC4W-00011e-7j for qemu-devel@nongnu.org; Tue, 13 Nov 2012 03:42:16 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qAD8gFOa023969 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 13 Nov 2012 03:42:15 -0500 From: Gerd Hoffmann Date: Tue, 13 Nov 2012 09:42:11 +0100 Message-Id: <1352796133-956-5-git-send-email-kraxel@redhat.com> In-Reply-To: <1352796133-956-1-git-send-email-kraxel@redhat.com> References: <1352796133-956-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 4/6] pixman: add pass cflags, add -fPIC List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann Pass on CFLAGS to the pixman configure script. Add -fPIC to the cflags, needed to make the final link succeed. Signed-off-by: Gerd Hoffmann --- Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile index 0d2ce50..ae4e994 100644 --- a/Makefile +++ b/Makefile @@ -122,7 +122,7 @@ subdir-pixman: pixman/Makefile $(call quiet-command,$(MAKE) $(SUBDIR_MAKEFLAGS) -C pixman V="$(V)" all,) pixman/Makefile: $(SRC_PATH)/pixman/configure - (cd pixman; CC="$(CC)" LD="$(LD)" AR="$(AR)" NM="$(NM)" RANLIB="$(RANLIB)" $(SRC_PATH)/pixman/configure --disable-gtk --disable-shared --enable-static) + (cd pixman; CC="$(CC)" LD="$(LD)" AR="$(AR)" NM="$(NM)" RANLIB="$(RANLIB)" CFLAGS="$(CFLAGS) -fPIC" $(SRC_PATH)/pixman/configure --disable-gtk --disable-shared --enable-static) $(SRC_PATH)/pixman/configure: (cd $(SRC_PATH)/pixman; autoreconf -v --install) -- 1.7.1