From: Emil Velikov Date: Thu, 21 Apr 2016 00:12:42 +0000 (+0100) Subject: anv: place the builddir includes before the srcdir ones X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=446234033dbcac77ebd879078892dc1a116059ba;p=mesa.git 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 --- 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