Received: from eggs.gnu.org ([2001:4830:134:3::10]:39269) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wnfku-0008Eg-KZ for qemu-devel@nongnu.org; Thu, 22 May 2014 23:02:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wnfkm-0005cR-Dz for qemu-devel@nongnu.org; Thu, 22 May 2014 23:02:48 -0400 Received: from mx1.redhat.com ([209.132.183.28]:22746) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wnfkm-0005c8-3n for qemu-devel@nongnu.org; Thu, 22 May 2014 23:02:40 -0400 From: Fam Zheng Date: Fri, 23 May 2014 11:02:28 +0800 Message-Id: <1400814150-31666-3-git-send-email-famz@redhat.com> In-Reply-To: <1400814150-31666-1-git-send-email-famz@redhat.com> References: <1400814150-31666-1-git-send-email-famz@redhat.com> Subject: [Qemu-devel] [PATCH 2/4] Makefile: Compile libqemustub.a and libqemuutil.a with -fPIC List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Maydell , Stefan Weil , Michael Tokarev , Michael Roth , Christophe Fergeau , Alon Levy , Stefan Hajnoczi , Paolo Bonzini , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Richard Henderson Signed-off-by: Fam Zheng --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index d830483..9b691ec 100644 --- a/Makefile +++ b/Makefile @@ -203,6 +203,7 @@ Makefile: $(version-obj-y) $(version-lobj-y) libqemustub.a: $(stub-obj-y) libqemuutil.a: $(util-obj-y) qapi-types.o qapi-visit.o +libqemuutil.a libqemustub.a qapi-types.o qapi-visit.o: CFLAGS += -fPIC block-modules = $(foreach o,$(block-obj-m),"$(basename $(subst /,-,$o))",) NULL util/module.o-cflags = -D'CONFIG_BLOCK_MODULES=$(block-modules)' -- 1.9.2