From: Eric Anholt Date: Mon, 16 Apr 2012 21:33:34 +0000 (-0700) Subject: glx: Use AM_CPPFLAGS to pass -I and -D to both C and C++ compiles. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=40da3b03204b877c2c98eae65ada44ebd9518a46;p=mesa.git glx: Use AM_CPPFLAGS to pass -I and -D to both C and C++ compiles. Reviewed-by: Kenneth Graunke Reviewed-by: Adam Jackson --- diff --git a/tests/glx/Makefile.am b/tests/glx/Makefile.am index f5581d638cc..7f93fd74de8 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