[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 26/42] CLOCKLIBS was used for all binaries
From: |
Juan Quintela |
Subject: |
[Qemu-devel] [PATCH 26/42] CLOCKLIBS was used for all binaries |
Date: |
Thu, 30 Jul 2009 04:07:21 +0200 |
Signed-off-by: Juan Quintela <address@hidden>
---
Makefile | 2 --
Makefile.target | 2 --
configure | 5 ++---
3 files changed, 2 insertions(+), 7 deletions(-)
diff --git a/Makefile b/Makefile
index cc1c98a..3c9b2bd 100644
--- a/Makefile
+++ b/Makefile
@@ -27,8 +27,6 @@ else
DOCS=
endif
-LIBS+=$(CLOCKLIBS)
-
ifdef CONFIG_SOLARIS
LIBS+=-lsocket -lnsl -lresolv
endif
diff --git a/Makefile.target b/Makefile.target
index 9c7cabe..5d05e71 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -202,8 +202,6 @@ signal.o: CFLAGS += $(HELPER_CFLAGS)
ARLIBS=../libqemu_user.a libqemu.a
endif #CONFIG_LINUX_USER
-LIBS+= $(CLOCKLIBS)
-
#########################################################
# Darwin user emulator target
diff --git a/configure b/configure
index 2d4a037..c0bd253 100755
--- a/configure
+++ b/configure
@@ -1340,9 +1340,9 @@ int main(void) { clockid_t id; return clock_gettime(id,
NULL); }
EOF
if compile_prog "" "" ; then
- CLOCKLIBS=""
+ :
elif compile_prog "" "-lrt" ; then
- CLOCKLIBS="-lrt"
+ LIBS="-lrt $LIBS"
fi
# Determine what linker flags to use to force archive inclusion
@@ -1749,7 +1749,6 @@ 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 "CLOCKLIBS=$CLOCKLIBS" >> $config_host_mak
echo "/* Automatically generated by configure - do not modify */" >
$config_host_h
--
1.6.2.5
- [Qemu-devel] [PATCH 12/42] create compile_object/compile_prog functions, (continued)
- [Qemu-devel] [PATCH 12/42] create compile_object/compile_prog functions, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 18/42] refactor kqemu selection for both mingw32, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 17/42] This variables can't be set here, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 19/42] move sparc_cpu arg parsing to the begining, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 20/42] refactor sparc_cpu code to be in a single place, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 22/42] reindent Operating System selection configure, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 23/42] We use -lz for all binaries, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 24/42] We want to pass LIB through configuration files now, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 21/42] refactor $cpu selection in various places, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 25/42] PTHREADLIBS was used for all binaries, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 26/42] CLOCKLIBS was used for all binaries,
Juan Quintela <=
- [Qemu-devel] [PATCH 27/42] Move to configure CONFIG_SOLARIS libraries needed always, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 28/42] Move to configure CONFIG_WIN32 libraries needed always, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 29/42] We set -Werror through configure now, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 30/42] Rename CPPFLAGS to CFLAGS, Juan Quintela, 2009/07/29
- [Qemu-devel] Re: [PATCH 30/42] Rename CPPFLAGS to CFLAGS, Paolo Bonzini, 2009/07/30
- [Qemu-devel] Re: [PATCH 30/42] Rename CPPFLAGS to CFLAGS, Juan Quintela, 2009/07/30
- [Qemu-devel] Re: [PATCH 30/42] Rename CPPFLAGS to CFLAGS, Paolo Bonzini, 2009/07/30
- [Qemu-devel] Re: [PATCH 30/42] Rename CPPFLAGS to CFLAGS, Juan Quintela, 2009/07/30
- [Qemu-devel] Re: [PATCH 30/42] Rename CPPFLAGS to CFLAGS, Paolo Bonzini, 2009/07/30
- [Qemu-devel] Re: [PATCH 30/42] Rename CPPFLAGS to CFLAGS, Juan Quintela, 2009/07/30