mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 04:20:08 +01:00
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>
This commit is contained in:
parent
e5866af123
commit
1b1bb6ee10
2 changed files with 2 additions and 1 deletions
|
|
@ -5,6 +5,7 @@ AM_CPPFLAGS = \
|
|||
-I$(top_srcdir)/src \
|
||||
-I$(top_srcdir)/src/mapi \
|
||||
-I$(top_srcdir)/src/mesa \
|
||||
-I$(top_builddir)/src/glx \
|
||||
-I$(top_srcdir)/src/glx \
|
||||
-I$(top_srcdir)/include \
|
||||
-I$(top_srcdir)/include/GL/internal \
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@
|
|||
#include <gtest/gtest.h>
|
||||
#include <GL/gl.h>
|
||||
extern "C" {
|
||||
#include "../indirect_size.h"
|
||||
#include "indirect_size.h"
|
||||
}
|
||||
|
||||
TEST(ValidEnumSizes, CallLists)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue