diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2013-06-17 12:00:41 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2013-06-17 12:00:41 -0500 |
commit | aa625b0b86ed15755b0b7cebc7f90da55059e3a6 (patch) | |
tree | 192cbb67d0f023c37cd3f35e747fc9c8cb26034d /src/Makefile.am | |
parent | 72d74f44b31cefa9d5f4b66d34f9546cb4b40d5a (diff) | |
download | ayatana-indicator-power-aa625b0b86ed15755b0b7cebc7f90da55059e3a6.tar.gz ayatana-indicator-power-aa625b0b86ed15755b0b7cebc7f90da55059e3a6.tar.bz2 ayatana-indicator-power-aa625b0b86ed15755b0b7cebc7f90da55059e3a6.zip |
tighten the -Wextra screws a little tighter
Diffstat (limited to 'src/Makefile.am')
-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 \ |