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 <abologna@redhat.com>
Acked-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Andrea Bolognani 2019-05-22 19:15:49 +02:00
parent 0a7b5b6e10
commit a5544e021f

View File

@ -29,6 +29,9 @@ EXTRA_DIST = \
AM_CPPFLAGS = \
-I$(top_builddir)/include \
-I$(top_srcdir)/include \
$(NULL)
AM_CFLAGS = \
$(WARN_CFLAGS) \
$(NULL)