summaryrefslogtreecommitdiff
path: root/plugins/i2c-sys
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/i2c-sys
parent98db8d17d8ff86f99be772d5d0e882477ce72623 (diff)
downloadmate-sensors-applet-3e1cd31b4744452a792978604b1ceb461978f203.tar.bz2
mate-sensors-applet-3e1cd31b4744452a792978604b1ceb461978f203.tar.xz
build: Use WARN_CFLAGS variable
Diffstat (limited to 'plugins/i2c-sys')
-rw-r--r--plugins/i2c-sys/Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/i2c-sys/Makefile.am b/plugins/i2c-sys/Makefile.am
index 9e0e812..928767a 100644
--- a/plugins/i2c-sys/Makefile.am
+++ b/plugins/i2c-sys/Makefile.am
@@ -9,11 +9,12 @@ AM_CPPFLAGS = -DMATELOCALEDIR=\""$(datadir)/locale/"\" \
-DSYSCONFDIR=\""$(sysconfdir)"\" \
-DPREFIX=\""$(prefix)"\" \
-I$(top_srcdir) \
- $(GLIB_CFLAGS)
+ $(GLIB_CFLAGS) \
+ $(WARN_CFLAGS)
plugin_LTLIBRARIES = libi2c-sys.la
-libi2c_sys_la_SOURCES = \
+libi2c_sys_la_SOURCES = \
i2c-sys-plugin.h \
i2c-sys-plugin.c