[PATCH 07/16] examples: Move $(WARN_CFLAGS) to $(AM_CFLAGS)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



$(AM_CPPFLAGS) is for passing options to the C preprocessor,
not the C compiler, and the stuff in $(WARN_CFLAGS) belongs
to the latter category.

Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx>
---
 examples/Makefile.am | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/examples/Makefile.am b/examples/Makefile.am
index 38dcb399c0..f2fef7df59 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -29,6 +29,9 @@ EXTRA_DIST = \
 AM_CPPFLAGS = \
 	-I$(top_builddir)/include \
 	-I$(top_srcdir)/include \
+	$(NULL)
+
+AM_CFLAGS = \
 	$(WARN_CFLAGS) \
 	$(NULL)
 
-- 
2.21.0

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux