From patchwork Wed Nov 14 13:02:38 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gerd Hoffmann X-Patchwork-Id: 198910 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 594DC2C008D for ; Thu, 15 Nov 2012 00:34:51 +1100 (EST) Received: from localhost ([::1]:43010 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TYcdA-0005GO-Ky for incoming@patchwork.ozlabs.org; Wed, 14 Nov 2012 08:03:48 -0500 Received: from eggs.gnu.org ([208.118.235.92]:45139) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TYccB-0003GC-TG for qemu-devel@nongnu.org; Wed, 14 Nov 2012 08:02:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TYcc8-00083o-QM for qemu-devel@nongnu.org; Wed, 14 Nov 2012 08:02:47 -0500 Received: from mx1.redhat.com ([209.132.183.28]:48047) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TYcc8-00083K-Ia for qemu-devel@nongnu.org; Wed, 14 Nov 2012 08:02:44 -0500 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qAED2hPZ024833 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 14 Nov 2012 08:02:43 -0500 Received: from rincewind.home.kraxel.org (ovpn-116-71.ams2.redhat.com [10.36.116.71]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id qAED2gvS015224; Wed, 14 Nov 2012 08:02:43 -0500 Received: by rincewind.home.kraxel.org (Postfix, from userid 500) id 0EA64429CE; Wed, 14 Nov 2012 14:02:41 +0100 (CET) From: Gerd Hoffmann To: qemu-devel@nongnu.org Date: Wed, 14 Nov 2012 14:02:38 +0100 Message-Id: <1352898161-28960-5-git-send-email-kraxel@redhat.com> In-Reply-To: <1352898161-28960-1-git-send-email-kraxel@redhat.com> References: <1352898161-28960-1-git-send-email-kraxel@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.132.183.28 Cc: Gerd Hoffmann Subject: [Qemu-devel] [PATCH 4/7] pixman: pass cflags, add -fPIC X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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 e68bb8f..4538b87 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; $(SRC_PATH)/pixman/configure $(AUTOCONF_HOST) --disable-gtk --disable-shared --enable-static) + (cd pixman; CFLAGS="$(CFLAGS) -fPIC" $(SRC_PATH)/pixman/configure $(AUTOCONF_HOST) --disable-gtk --disable-shared --enable-static) $(SRC_PATH)/pixman/configure: (cd $(SRC_PATH)/pixman; autoreconf -v --install)