[PATCH 1/6] util: add WARN_CFLAGS, rename the c*flags vars

Emil Velikov emil.l.velikov at gmail.com
Thu Jan 29 10:47:05 PST 2015


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

diff --git a/tests/util/Makefile.am b/tests/util/Makefile.am
index f8e0b17..aaaf932 100644
--- a/tests/util/Makefile.am
+++ b/tests/util/Makefile.am
@@ -1,13 +1,14 @@
 include Makefile.sources
 
-noinst_LTLIBRARIES = \
-	libutil.la
-
-libutil_la_CPPFLAGS = \
+AM_CPPFLAGS = \
 	-I$(top_srcdir)/include/drm \
 	-I$(top_srcdir)
 
-libutil_la_CFLAGS = \
-	$(CAIRO_CFLAGS)
+AM_CFLAGS = \
+	$(CAIRO_CFLAGS) \
+	$(WARN_CFLAGS)
+
+noinst_LTLIBRARIES = \
+	libutil.la
 
 libutil_la_SOURCES = $(UTIL_FILES)
-- 
2.1.3



More information about the dri-devel mailing list