ACK: [PATCH 2/2] Makefile.am: enable -Wextra
Alex Hung
alex.hung at canonical.com
Mon Oct 29 06:48:04 UTC 2012
On 10/25/2012 09:22 PM, Colin King wrote:
> 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 \
>
Acked-by: Alex Hung <alex.hung at canonical.com>
More information about the fwts-devel
mailing list