[Mesa-dev] [PATCH 22/25] anv: place the builddir includes before the srcdir ones

Emil Velikov emil.l.velikov at gmail.com
Thu Apr 21 13:16:22 UTC 2016


Otherwise we risk picking the possibly outdated file in the source dir
over the fresh one in the builddir.

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---

The list feels a tad too large, although I've haven't tried cutting it 
down.

-Emil

 src/intel/vulkan/Makefile.am | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/intel/vulkan/Makefile.am b/src/intel/vulkan/Makefile.am
index 110961e..b7d1f87 100644
--- a/src/intel/vulkan/Makefile.am
+++ b/src/intel/vulkan/Makefile.am
@@ -48,19 +48,19 @@ AM_CPPFLAGS = \
 	$(DEFINES) \
 	-I$(top_srcdir)/include \
 	-I$(top_srcdir)/include/vulkan \
+	-I$(top_builddir)/src \
 	-I$(top_srcdir)/src \
+	-I$(top_builddir)/src/compiler \
 	-I$(top_srcdir)/src/compiler \
+	-I$(top_builddir)/src/compiler/nir \
 	-I$(top_srcdir)/src/mapi \
 	-I$(top_srcdir)/src/mesa \
 	-I$(top_srcdir)/src/mesa/drivers/dri/common \
 	-I$(top_srcdir)/src/mesa/drivers/dri/i965 \
 	-I$(top_srcdir)/src/gallium/auxiliary \
 	-I$(top_srcdir)/src/gallium/include \
-	-I$(top_srcdir)/src/intel/ \
-	-I$(top_builddir)/src \
-	-I$(top_builddir)/src/compiler \
-	-I$(top_builddir)/src/compiler/nir \
-	-I$(top_builddir)/src/intel
+	-I$(top_builddir)/src/intel \
+	-I$(top_srcdir)/src/intel
 
 AM_CFLAGS = -Wno-override-init -msse2
 
-- 
2.8.0



More information about the mesa-dev mailing list