From: Andrea Bolognani Date: Tue, 21 May 2019 12:19:07 +0000 (+0200) Subject: examples: Remove $(WARN_CFLAGS) from $(LDADD) X-Git-Tag: v5.5.0-rc1~381 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40d4aaf928569762b5e4ec132f3f21053e486ed1;p=thirdparty%2Flibvirt.git examples: Remove $(WARN_CFLAGS) from $(LDADD) $(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 Acked-by: Michal Privoznik --- 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)