[PATCH 2/2] util: silence pointer arithmetic warnings

Emil Velikov emil.l.velikov at gmail.com
Fri Feb 6 11:42:02 PST 2015


Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
 tests/util/Makefile.am | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/util/Makefile.am b/tests/util/Makefile.am
index aaaf932..1d71c40 100644
--- a/tests/util/Makefile.am
+++ b/tests/util/Makefile.am
@@ -6,7 +6,8 @@ AM_CPPFLAGS = \
 
 AM_CFLAGS = \
 	$(CAIRO_CFLAGS) \
-	$(WARN_CFLAGS)
+	$(filter-out -Wpointer-arith, $(WARN_CFLAGS))
+
 
 noinst_LTLIBRARIES = \
 	libutil.la
-- 
2.1.3



More information about the dri-devel mailing list