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