[libvirt] [PATCH 04/16] examples: Remove $(WARN_CFLAGS) from $(LDADD)

Andrea Bolognani abologna at redhat.com
Wed May 22 17:52:55 UTC 2019


$(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 at redhat.com>
---
 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




More information about the libvir-list mailing list