[PATCH 2/2] Makefile.am: enable -Wextra
Colin King
colin.king at canonical.com
Thu Oct 25 13:22:32 UTC 2012
From: Colin Ian King <colin.king at canonical.com>
Enable -Wextra to catch any sloppy code. Let us be pedantic now.
Signed-off-by: Colin Ian King <colin.king at canonical.com>
---
src/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index b7adc20..e82c7a9 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -6,7 +6,7 @@
# but libfwts.so depends on libraries produced by acpica/source/compiler.
SUBDIRS = acpica/source/compiler lib acpica
-AM_CPPFLAGS = -I$(top_srcdir)/src/lib/include -I$(top_srcdir)/src/acpica/source/include -I$(top_srcdir)/efi_runtime -Wall -Werror
+AM_CPPFLAGS = -I$(top_srcdir)/src/lib/include -I$(top_srcdir)/src/acpica/source/include -I$(top_srcdir)/efi_runtime -Wall -Werror -Wextra
bin_PROGRAMS = fwts
fwts_SOURCES = main.c \
--
1.7.10.4
More information about the fwts-devel
mailing list