From 4c6b1b1a825a01cb64451306bbebd61927442bb0 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Mon, 23 Feb 2015 12:52:47 +0000 Subject: autotools: add WARN_CFLAGS to all targets ... minus test/ttmtest. The latter is not really hooked up with the actual build. This will give us 66 warnings on a distribution build of which - 12 -Wunused-variable - 11 -Wunused-function - 19 -Wmissing-prototypes and a few -Wswitch-enum, -Wtype-limits etc. Adding the CFLAGS gives some exposure to these so that we can fix them. Signed-off-by: Emil Velikov Reviewed-by: Jan Vesely --- tests/tegra/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/tegra/Makefile.am') diff --git a/tests/tegra/Makefile.am b/tests/tegra/Makefile.am index ca63d92f..8e625c8f 100644 --- a/tests/tegra/Makefile.am +++ b/tests/tegra/Makefile.am @@ -3,7 +3,7 @@ AM_CPPFLAGS = \ -I$(top_srcdir)/tegra \ -I$(top_srcdir) -AM_CFLAGS = -Wall -Werror +AM_CFLAGS = $(WARN_CFLAGS) LDADD = \ ../../tegra/libdrm_tegra.la \ -- cgit v1.2.3