---
 tests/glx/Makefile.am |    8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/tests/glx/Makefile.am b/tests/glx/Makefile.am
index f5581d6..7f93fd7 100644
--- a/tests/glx/Makefile.am
+++ b/tests/glx/Makefile.am
@@ -1,10 +1,8 @@
-INC = \
+AM_CPPFLAGS = \
        -I$(top_builddir)/src/gtest/include \
        -I$(top_builddir)/src/mapi \
-       -I$(top_builddir)/src/glx
-
-AM_CFLAGS = $(INC) $(X11_CFLAGS)
-AM_CXXFLAGS = $(INC) $(X11_CFLAGS)
+       -I$(top_builddir)/src/glx \
+       $(X11_CFLAGS)
 
 if HAVE_XCB_GLX_CREATE_CONTEXT
 TESTS = glx_unittest
-- 
1.7.10

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to