From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MWL5t-0007EG-F8 for qemu-devel@nongnu.org; Wed, 29 Jul 2009 22:10:09 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MWL5r-0007Av-0M for qemu-devel@nongnu.org; Wed, 29 Jul 2009 22:10:08 -0400 Received: from [199.232.76.173] (port=47320 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MWL5q-0007Ac-Ha for qemu-devel@nongnu.org; Wed, 29 Jul 2009 22:10:06 -0400 Received: from mx2.redhat.com ([66.187.237.31]:50817) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MWL5q-00058P-09 for qemu-devel@nongnu.org; Wed, 29 Jul 2009 22:10:06 -0400 From: Juan Quintela Date: Thu, 30 Jul 2009 04:07:19 +0200 Message-Id: <2ee7b4f90eac723544f6ba191a4eb0fd45e5de1c.1248918837.git.quintela@redhat.com> In-Reply-To: References: In-Reply-To: References: Subject: [Qemu-devel] [PATCH 24/42] We want to pass LIB through configuration files now List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: aliguori@us.ibm.com 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 8f21428..402879f 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 3132267..85f5ad2 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 -- 1.6.2.5