summaryrefslogtreecommitdiff
path: root/backends/null
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-10-01 22:37:49 +0200
committerraveit65 <[email protected]>2019-10-09 09:11:58 +0200
commitea214684aeee170dc2a95cb1df751ef4bd0b82c4 (patch)
treeb2f4ce62ffe36789969e7af0d921b5a5103a19c1 /backends/null
parent5f8bf42dc4b5bae6627bafb850e90fc8d25e8f5f (diff)
downloadlibmatemixer-ea214684aeee170dc2a95cb1df751ef4bd0b82c4.tar.bz2
libmatemixer-ea214684aeee170dc2a95cb1df751ef4bd0b82c4.tar.xz
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.
Diffstat (limited to 'backends/null')
-rw-r--r--backends/null/Makefile.am15
1 files changed, 10 insertions, 5 deletions
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 \