summaryrefslogtreecommitdiff
path: root/backends/alsa/Makefile.am
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/alsa/Makefile.am
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/alsa/Makefile.am')
-rw-r--r--backends/alsa/Makefile.am18
1 files changed, 11 insertions, 7 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 \