From a5544e021fff1044e2805604c18e7e4dbbf36302 Mon Sep 17 00:00:00 2001 From: Andrea Bolognani Date: Wed, 22 May 2019 19:15:49 +0200 Subject: [PATCH] examples: Move $(WARN_CFLAGS) to $(AM_CFLAGS) $(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 Acked-by: Michal Privoznik --- 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) -- GitLab