diff options
-rw-r--r-- | src/Makefile.am | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 2aff220..8495233 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -3,7 +3,7 @@ EXTRA_DIST = CLEANFILES = SHARED_CFLAGS = \ - -Wall -Werror \ + -Wall -Wextra -Werror \ $(SERVICE_DEPS_CFLAGS) \ -DG_LOG_DOMAIN=\"Indicator-Power\" @@ -55,7 +55,7 @@ libindicatorpower_upower_a_SOURCES = \ device-provider-upower.c \ device-provider-upower.h -libindicatorpower_upower_a_CFLAGS = $(SHARED_CFLAGS) -Wextra -Wno-unused-parameter +libindicatorpower_upower_a_CFLAGS = $(SHARED_CFLAGS) -Wno-unused-parameter libindicatorpower_service_a_SOURCES = \ device-provider.c \ @@ -65,7 +65,7 @@ libindicatorpower_service_a_SOURCES = \ service.c \ service.h -libindicatorpower_service_a_CFLAGS = $(SHARED_CFLAGS) +libindicatorpower_service_a_CFLAGS = $(SHARED_CFLAGS) -Wno-missing-field-initializers ### ### @@ -75,9 +75,7 @@ libexec_PROGRAMS = indicator-power-service indicator_power_service_SOURCES = main.c -indicator_power_service_CFLAGS = \ - $(SHARED_CFLAGS) \ - -Wextra -Wno-missing-field-initializers +indicator_power_service_CFLAGS = $(SHARED_CFLAGS) indicator_power_service_LDADD = \ libindicatorpower-upower.a \ |