From 446234033dbcac77ebd879078892dc1a116059ba Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Thu, 21 Apr 2016 01:12:42 +0100 Subject: [PATCH] anv: place the builddir includes before the srcdir ones Otherwise we risk picking the possibly outdated file in the source dir over the fresh one in the builddir. Signed-off-by: Emil Velikov Acked-by: Jason Ekstrand --- 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 91225f29164..d5adc4d93f6 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.30.2