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