summaryrefslogtreecommitdiff
path: root/plugins/libsensors
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-04-10 15:34:57 +0200
committerrbuj <[email protected]>2020-04-10 15:34:57 +0200
commit3e1cd31b4744452a792978604b1ceb461978f203 (patch)
tree3fdced4fa99b1855a24c05ae7dd2ada5b651c92d /plugins/libsensors
parent98db8d17d8ff86f99be772d5d0e882477ce72623 (diff)
downloadmate-sensors-applet-3e1cd31b4744452a792978604b1ceb461978f203.tar.bz2
mate-sensors-applet-3e1cd31b4744452a792978604b1ceb461978f203.tar.xz
build: Use WARN_CFLAGS variable
Diffstat (limited to 'plugins/libsensors')
-rw-r--r--plugins/libsensors/Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/libsensors/Makefile.am b/plugins/libsensors/Makefile.am
index 45785b1..5bf9681 100644
--- a/plugins/libsensors/Makefile.am
+++ b/plugins/libsensors/Makefile.am
@@ -9,11 +9,13 @@ AM_CPPFLAGS = -DMATELOCALEDIR=\""$(datadir)/locale/"\" \
-DSYSCONFDIR=\""$(sysconfdir)"\" \
-DPREFIX=\""$(prefix)"\" \
-I$(top_srcdir) \
- $(GLIB_CFLAGS) $(LIBSENSORS_CFLAGS)
+ $(GLIB_CFLAGS) \
+ $(LIBSENSORS_CFLAGS) \
+ $(WARN_CFLAGS)
plugin_LTLIBRARIES = liblibsensors.la
-liblibsensors_la_SOURCES = \
+liblibsensors_la_SOURCES = \
libsensors-plugin.h \
libsensors-plugin.c