aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Velikov2015-02-23 06:52:47 -0600
committerEmil Velikov2015-02-27 09:51:24 -0600
commit4c6b1b1a825a01cb64451306bbebd61927442bb0 (patch)
treee41eb6c3a5c07e52e4173df61cd83b586b578be9 /tests/tegra
parent794810d62d49c05a9b06c8570a6b668b4bb0179d (diff)
downloadexternal-libgbm-4c6b1b1a825a01cb64451306bbebd61927442bb0.tar.gz
external-libgbm-4c6b1b1a825a01cb64451306bbebd61927442bb0.tar.xz
external-libgbm-4c6b1b1a825a01cb64451306bbebd61927442bb0.zip
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 <emil.l.velikov@gmail.com> Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
Diffstat (limited to 'tests/tegra')
-rw-r--r--tests/tegra/Makefile.am2
1 files changed, 1 insertions, 1 deletions
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 = \
3 -I$(top_srcdir)/tegra \ 3 -I$(top_srcdir)/tegra \
4 -I$(top_srcdir) 4 -I$(top_srcdir)
5 5
6AM_CFLAGS = -Wall -Werror 6AM_CFLAGS = $(WARN_CFLAGS)
7 7
8LDADD = \ 8LDADD = \
9 ../../tegra/libdrm_tegra.la \ 9 ../../tegra/libdrm_tegra.la \