$(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 <[email protected]>
---
 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
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to