From patchwork Tue Nov 13 08:42:11 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gerd Hoffmann X-Patchwork-Id: 198563 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 0F03A2C00D2 for ; Tue, 13 Nov 2012 19:42:39 +1100 (EST) Received: from localhost ([::1]:33625 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TYC4p-0002UI-UT for incoming@patchwork.ozlabs.org; Tue, 13 Nov 2012 03:42:35 -0500 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 Received: from rincewind.home.kraxel.org (ovpn-116-44.ams2.redhat.com [10.36.116.44]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id qAD8gEmJ025982; Tue, 13 Nov 2012 03:42:14 -0500 Received: by rincewind.home.kraxel.org (Postfix, from userid 500) id BB014408BC; Tue, 13 Nov 2012 09:42:13 +0100 (CET) From: Gerd Hoffmann To: qemu-devel@nongnu.org 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> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 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/6] pixman: add 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 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)