From 1f714672693f637f81ac55cf4f4618c74d10e229 Mon Sep 17 00:00:00 2001 From: rbuj Date: Thu, 10 Oct 2019 20:21:39 +0200 Subject: 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. It removes c++ checks as there is no c++ code. --- src/themes/coco/Makefile.am | 6 +++--- src/themes/nodoka/Makefile.am | 2 +- src/themes/slider/Makefile.am | 2 +- src/themes/standard/Makefile.am | 1 + 4 files changed, 6 insertions(+), 5 deletions(-) (limited to 'src/themes') diff --git a/src/themes/coco/Makefile.am b/src/themes/coco/Makefile.am index 52f7a6f..78eccbb 100644 --- a/src/themes/coco/Makefile.am +++ b/src/themes/coco/Makefile.am @@ -1,9 +1,9 @@ -AM_CPPFLAGS = $(THEME_CFLAGS) -Wall +AM_CPPFLAGS = $(THEME_CFLAGS) enginedir = $(libdir)/mate-notification-daemon/engines engine_LTLIBRARIES = libcoco.la libcoco_la_SOURCES = coco-theme.c - +libcoco_la_CFLAGS = $(WARN_CFLAGS) libcoco_la_LDFLAGS = -module -avoid-version -no-undefined -libcoco_la_LIBADD = $(THEME_LIBS) +libcoco_la_LIBADD = $(THEME_LIBS) diff --git a/src/themes/nodoka/Makefile.am b/src/themes/nodoka/Makefile.am index 38b797c..b49bdcf 100644 --- a/src/themes/nodoka/Makefile.am +++ b/src/themes/nodoka/Makefile.am @@ -4,6 +4,6 @@ enginedir = $(libdir)/mate-notification-daemon/engines engine_LTLIBRARIES = libnodoka.la libnodoka_la_SOURCES = nodoka-theme.c - +libnodoka_la_CFLAGS = $(WARN_CFLAGS) libnodoka_la_LDFLAGS = -module -avoid-version -no-undefined libnodoka_la_LIBADD = $(THEME_LIBS) diff --git a/src/themes/slider/Makefile.am b/src/themes/slider/Makefile.am index 46dcdd2..fc8d7eb 100644 --- a/src/themes/slider/Makefile.am +++ b/src/themes/slider/Makefile.am @@ -6,7 +6,7 @@ engine_LTLIBRARIES = libslider.la AM_CPPFLAGS = $(THEME_CFLAGS) libslider_la_SOURCES = theme.c - +libslider_la_CFLAGS = $(WARN_CFLAGS) libslider_la_LDFLAGS = -module -avoid-version -no-undefined libslider_la_LIBADD = \ $(THEME_LIBS) \ diff --git a/src/themes/standard/Makefile.am b/src/themes/standard/Makefile.am index c31098c..7f82f54 100644 --- a/src/themes/standard/Makefile.am +++ b/src/themes/standard/Makefile.am @@ -3,6 +3,7 @@ enginedir = $(libdir)/mate-notification-daemon/engines engine_LTLIBRARIES = libstandard.la libstandard_la_SOURCES = theme.c +libstandard_la_CFLAGS = $(WARN_CFLAGS) libstandard_la_LDFLAGS = -module -avoid-version -no-undefined libstandard_la_LIBADD = $(NOTIFICATION_DAEMON_LIBS) -- cgit v1.2.1