]> xenbits.xensource.com Git - libvirt.git/commitdiff
examples: Move $(WARN_CFLAGS) to $(AM_CFLAGS)
authorAndrea Bolognani <abologna@redhat.com>
Wed, 22 May 2019 17:15:49 +0000 (19:15 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Mon, 3 Jun 2019 15:27:21 +0000 (17:27 +0200)
$(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>
examples/Makefile.am

index 38dcb399c0d95b0a43e51e59b5cc53723a3649b0..f2fef7df59bd698a22aa95dd30a832a2cd02f3e9 100644 (file)
@@ -29,6 +29,9 @@ EXTRA_DIST = \
 AM_CPPFLAGS = \
        -I$(top_builddir)/include \
        -I$(top_srcdir)/include \
+       $(NULL)
+
+AM_CFLAGS = \
        $(WARN_CFLAGS) \
        $(NULL)