make: Don't traverse backwards through include directories.
authorDylan Baker <dylan@pnwbakers.com>
Wed, 4 Oct 2017 22:33:18 +0000 (15:33 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Mon, 9 Oct 2017 20:42:43 +0000 (13:42 -0700)
commit1b1bb6ee103a79de11aa4941ccbcd34f0a158276
tree79e6d4406a3747949f59e651876da6aaec03076e
parente5866af123ac13bcd8ac79989d711441952d8056
make: Don't traverse backwards through include directories.

Traversing back through includes is bad idea and should be avoided.
In the case here - indirect_size.h is located in the build directory
$(top_builddir)/src/glx/.

v3: - Update commit message with message provided by Emil

Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/glx/tests/Makefile.am
src/glx/tests/enum_sizes.cpp