From patchwork Mon Aug 3 12:46:15 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juan Quintela X-Patchwork-Id: 30524 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by bilbo.ozlabs.org (Postfix) with ESMTPS id 3336AB7087 for ; Mon, 3 Aug 2009 23:32:57 +1000 (EST) Received: from localhost ([127.0.0.1]:52467 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXxem-0001y6-Qn for incoming@patchwork.ozlabs.org; Mon, 03 Aug 2009 09:32:52 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MXwz3-0003Ge-Dp for qemu-devel@nongnu.org; Mon, 03 Aug 2009 08:49:45 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MXwz0-0003Dq-GM for qemu-devel@nongnu.org; Mon, 03 Aug 2009 08:49:44 -0400 Received: from [199.232.76.173] (port=51672 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXwyz-0003DZ-Vn for qemu-devel@nongnu.org; Mon, 03 Aug 2009 08:49:42 -0400 Received: from mx2.redhat.com ([66.187.237.31]:40791) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MXwyz-0006xo-AA for qemu-devel@nongnu.org; Mon, 03 Aug 2009 08:49:41 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n73CneAb006504; Mon, 3 Aug 2009 08:49:40 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n73CndpQ026083; Mon, 3 Aug 2009 08:49:39 -0400 Received: from localhost.localdomain (vpn-12-117.rdu.redhat.com [10.11.12.117]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n73Cn8MS009715; Mon, 3 Aug 2009 08:49:38 -0400 From: Juan Quintela To: qemu-devel@nongnu.org Date: Mon, 3 Aug 2009 14:46:15 +0200 Message-Id: In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.58 on 172.16.27.26 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Cc: aliguori@us.ibm.com Subject: [Qemu-devel] [PATCH 24/81] We want to pass LIB through configuration files now X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Juan Quintela --- Makefile | 2 +- Makefile.target | 1 - configure | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 1108b93..5149476 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ VPATH=$(SRC_PATH):$(SRC_PATH)/hw CPPFLAGS += -I. -I$(SRC_PATH) -MMD -MP -MT $@ CPPFLAGS += -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE CPPFLAGS += -U_FORTIFY_SOURCE -LIBS=-lz +LIBS+=-lz ifdef BUILD_DOCS DOCS=qemu-doc.html qemu-tech.html qemu.1 qemu-img.1 qemu-nbd.8 diff --git a/Makefile.target b/Makefile.target index 49ba08d..787df81 100644 --- a/Makefile.target +++ b/Makefile.target @@ -5,7 +5,6 @@ TARGET_PATH=$(SRC_PATH)/target-$(TARGET_BASE_ARCH) VPATH=$(SRC_PATH):$(TARGET_PATH):$(SRC_PATH)/hw CPPFLAGS=-I. -I.. -I$(TARGET_PATH) -I$(SRC_PATH) -MMD -MT $@ -MP -DNEED_CPU_H #CFLAGS+=-Werror -LIBS= ifdef CONFIG_USER_ONLY # user emulator name diff --git a/configure b/configure index c78eda1..bcdb1be 100755 --- a/configure +++ b/configure @@ -1748,6 +1748,7 @@ echo "CFLAGS=$CFLAGS" >> $config_host_mak echo "LDFLAGS=$LDFLAGS" >> $config_host_mak echo "ARLIBS_BEGIN=$arlibs_begin" >> $config_host_mak echo "ARLIBS_END=$arlibs_end" >> $config_host_mak +echo "LIBS=$LIBS" >> $config_host_mak echo "EXESUF=$EXESUF" >> $config_host_mak echo "PTHREADLIBS=$PTHREADLIBS" >> $config_host_mak echo "CLOCKLIBS=$CLOCKLIBS" >> $config_host_mak