On Mac OS X, ranlib complains on a few empty objects: AR libqemuutil.a /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libqemuutil.a(generated-tracers.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libqemuutil.a(host-utils.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libqemuutil.a(getauxval.o) has no symbols
This series fixes the warnings. Fam Fam Zheng (3): trace: Only link generated-tracers.o with "simple" backend util: Move general qemu_getauxval to util/getauxval.c util: Don't link host-utils.o if it's empty include/qemu/osdep.h | 4 ---- trace/Makefile.objs | 3 +-- util/Makefile.objs | 3 ++- util/getauxval.c | 8 ++++++++ util/host-utils.c | 2 -- 5 files changed, 11 insertions(+), 9 deletions(-) -- 2.1.0.27.g96db324