qemu/qga/vss-win32
Paolo Bonzini db5adeaa84 build-sys: clean up flags included in the linker command line
Some of the CFLAGS that are discovered during configure, for example
compiler warnings, are being included on the linker command line because
QEMU_CFLAGS is added to it.  Other flags, such as the -m32, appear twice
because they are included in both QEMU_CFLAGS and LDFLAGS.  All this
leads to confusion with respect to what goes in which Makefile variables
(and we have plenty).

So, introduce QEMU_LDFLAGS for flags discovered by configure, following
the lead of QEMU_CFLAGS, and stop adding to it:

1) options that are already in CFLAGS, for example "-g"

2) duplicate options

At the same time, options that _are_ needed by both compiler and linker
must now be added to both QEMU_CFLAGS and QEMU_LDFLAGS, which is clearer.
This is mostly -fsanitize options.  For now, --extra-cflags has this behavior
(but --extra-cxxflags does not).

Meson will not include CFLAGS on the linker command line, do the same in our
build system as well.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-01-24 20:59:17 +01:00
..
install.cpp qga-win: fix error-handling in getNameByStringSID() 2017-10-26 20:01:32 -05:00
install.h qemu-ga: Make QGA VSS provider service run only when needed 2017-04-26 23:56:46 -05:00
Makefile.objs build-sys: clean up flags included in the linker command line 2020-01-24 20:59:17 +01:00
provider.cpp qga-win: Fix Event Viewer errors caused by qemu-ga 2017-04-26 23:56:47 -05:00
qga-vss.def
qga-vss.idl
qga-vss.tlb
requester.cpp qga-win: add support for qmp_guest_fsfreeze_freeze_list 2018-10-30 16:48:49 -05:00
requester.h qga-win: add support for qmp_guest_fsfreeze_freeze_list 2018-10-30 16:48:49 -05:00
vss-common.h qga-win: Fix a bug where qemu-ga service is stuck during stop operation 2017-04-26 23:56:47 -05:00
vss-handles.h Clean up ill-advised or unusual header guards 2019-05-13 08:58:55 +02:00