mirror of
https://github.com/qemu/qemu.git
synced 2024-11-24 03:13:44 +08:00
CLOCKLIBS was used for all binaries
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Message-Id:
This commit is contained in:
parent
5572b53926
commit
07ffa4bde6
2
Makefile
2
Makefile
@ -27,8 +27,6 @@ else
|
||||
DOCS=
|
||||
endif
|
||||
|
||||
LIBS+=$(CLOCKLIBS)
|
||||
|
||||
ifdef CONFIG_SOLARIS
|
||||
LIBS+=-lsocket -lnsl -lresolv
|
||||
endif
|
||||
|
@ -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
|
||||
|
||||
|
5
configure
vendored
5
configure
vendored
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user