summaryrefslogtreecommitdiff
path: root/backends
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
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')
-rw-r--r--backends/alsa/Makefile.am18
-rw-r--r--backends/null/Makefile.am15
-rw-r--r--backends/oss/Makefile.am18
-rw-r--r--backends/pulse/Makefile.am18
4 files changed, 43 insertions, 26 deletions
diff --git a/backends/alsa/Makefile.am b/backends/alsa/Makefile.am
index 0e6b6d0..06e04a7 100644
--- a/backends/alsa/Makefile.am
+++ b/backends/alsa/Makefile.am
@@ -1,15 +1,19 @@
+NULL =
+
backenddir = $(libdir)/libmatemixer
backend_LTLIBRARIES = libmatemixer-alsa.la
-AM_CPPFLAGS = \
- -Wno-unknown-pragmas \
- -I$(top_srcdir) \
- -DG_LOG_DOMAIN=\"libmatemixer-alsa\"
+AM_CPPFLAGS = \
+ -I$(top_srcdir) \
+ -DG_LOG_DOMAIN=\"libmatemixer-alsa\" \
+ $(GLIB_CFLAGS) \
+ $(ALSA_CFLAGS) \
+ $(NULL)
-libmatemixer_alsa_la_CFLAGS = \
- $(GLIB_CFLAGS) \
- $(ALSA_CFLAGS)
+libmatemixer_alsa_la_CFLAGS = \
+ $(WARN_CFLAGS) \
+ $(NULL)
libmatemixer_alsa_la_SOURCES = \
alsa-backend.c \
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 \
diff --git a/backends/oss/Makefile.am b/backends/oss/Makefile.am
index 360082f..d9e1fa7 100644
--- a/backends/oss/Makefile.am
+++ b/backends/oss/Makefile.am
@@ -1,15 +1,19 @@
+NULL =
+
backenddir = $(libdir)/libmatemixer
backend_LTLIBRARIES = libmatemixer-oss.la
-AM_CPPFLAGS = \
- -Wno-unknown-pragmas \
- -I$(top_srcdir) \
- -DG_LOG_DOMAIN=\"libmatemixer-oss\"
+AM_CPPFLAGS = \
+ -I$(top_srcdir) \
+ -DG_LOG_DOMAIN=\"libmatemixer-oss\" \
+ $(GLIB_CFLAGS) \
+ $(OSS_CFLAGS) \
+ $(NULL)
-libmatemixer_oss_la_CFLAGS = \
- $(GLIB_CFLAGS) \
- $(OSS_CFLAGS)
+libmatemixer_oss_la_CFLAGS = \
+ $(WARN_CFLAGS) \
+ $(NULL)
libmatemixer_oss_la_SOURCES = \
oss-common.h \
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 \