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/pulse/Makefile.am | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'backends/pulse') diff --git a/backends/pulse/Makefile.am b/backends/pulse/Makefile.am index 74fe128..b07cc7e 100644 --- a/backends/pulse/Makefile.am +++ b/backends/pulse/Makefile.am @@ -1,15 +1,19 @@ +NULL = + backenddir = $(libdir)/libmatemixer backend_LTLIBRARIES = libmatemixer-pulse.la -AM_CPPFLAGS = \ - -Wno-unknown-pragmas \ - -I$(top_srcdir) \ - -DG_LOG_DOMAIN=\"libmatemixer-pulse\" +AM_CPPFLAGS = \ + -I$(top_srcdir) \ + -DG_LOG_DOMAIN=\"libmatemixer-pulse\" \ + $(GLIB_CFLAGS) \ + $(PULSEAUDIO_CFLAGS) \ + $(NULL) -libmatemixer_pulse_la_CFLAGS = \ - $(GLIB_CFLAGS) \ - $(PULSEAUDIO_CFLAGS) +libmatemixer_pulse_la_CFLAGS = \ + $(WARN_CFLAGS) \ + $(NULL) libmatemixer_pulse_la_SOURCES = \ pulse-backend.c \ -- cgit v1.2.1