From ea214684aeee170dc2a95cb1df751ef4bd0b82c4 Mon Sep 17 00:00:00 2001 From: rbuj Date: Tue, 1 Oct 2019 22:37:49 +0200 Subject: Use WARN_CFLAGS which are only set with --enable-compiler-warnings It removes --enable-more-warnings, since it is recommended to use --enable-compile-warnings=maximum It updates configure summary. --- backends/null/Makefile.am | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'backends/null') diff --git a/backends/null/Makefile.am b/backends/null/Makefile.am index 9c4fd4c..f0371a7 100644 --- a/backends/null/Makefile.am +++ b/backends/null/Makefile.am @@ -1,13 +1,18 @@ +NULL = + backenddir = $(libdir)/libmatemixer backend_LTLIBRARIES = libmatemixer-null.la -AM_CPPFLAGS = \ - -Wno-unknown-pragmas \ - -I$(top_srcdir) \ - -DG_LOG_DOMAIN=\"libmatemixer-null\" +AM_CPPFLAGS = \ + -I$(top_srcdir) \ + -DG_LOG_DOMAIN=\"libmatemixer-null\" \ + $(GLIB_CFLAGS) \ + $(NULL) -libmatemixer_null_la_CFLAGS = $(GLIB_CFLAGS) +libmatemixer_null_la_CFLAGS = \ + $(WARN_CFLAGS) \ + $(NULL) libmatemixer_null_la_SOURCES = \ null-backend.c \ -- cgit v1.2.1