$(WARN_CFLAGS) contains options intended for the compiler, whereas $(LDADD) is supposed to list additional objects required during linking, so the former clearly doesn't belong in the latter. Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx> --- examples/Makefile.am | 1 - 1 file changed, 1 deletion(-) diff --git a/examples/Makefile.am b/examples/Makefile.am index 8f50149812..4c04bd35be 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -35,7 +35,6 @@ AM_CPPFLAGS = \ LDADD = \ $(STATIC_BINARIES) \ - $(WARN_CFLAGS) \ $(top_builddir)/src/libvirt.la \ $(top_builddir)/src/libvirt-admin.la \ $(NULL) -- 2.21.0 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list