i965: automake: include builddir prior to srcdir
authorEmil Velikov <emil.velikov@collabora.com>
Mon, 16 Jan 2017 15:45:34 +0000 (15:45 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 27 Jan 2017 17:56:55 +0000 (17:56 +0000)
The latter can contain stale generated file, which, as-is, we'll end up
using.

Fixes: bfd17c76c12 "i965: Port INTEL_PRECISE_TRIG=1 to NIR."
Cc: "12.0 13.0" <mesa-dev@lists.freedesktop.org>
Cc: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
src/mesa/drivers/dri/i965/Makefile.am

index 1b917e7bff75caccb29c23119f329fdfb3d5c284..c054a3c0f21de06ff1999a7ef2a77c0641836a99 100644 (file)
@@ -30,15 +30,15 @@ AM_CFLAGS = \
        -I$(top_srcdir)/src/mesa/ \
        -I$(top_srcdir)/src/gallium/include \
        -I$(top_srcdir)/src/gallium/auxiliary \
+       -I$(top_builddir)/src/mesa/drivers/dri/common \
        -I$(top_srcdir)/src/mesa/drivers/dri/common \
        -I$(top_srcdir)/src/mesa/drivers/dri/intel/server \
        -I$(top_srcdir)/src/gtest/include \
-       -I$(top_srcdir)/src/compiler/nir \
-       -I$(top_srcdir)/src/intel \
        -I$(top_builddir)/src/compiler/glsl \
        -I$(top_builddir)/src/compiler/nir \
+       -I$(top_srcdir)/src/compiler/nir \
        -I$(top_builddir)/src/intel \
-       -I$(top_builddir)/src/mesa/drivers/dri/common \
+       -I$(top_srcdir)/src/intel \
        $(DEFINES) \
        $(VISIBILITY_CFLAGS) \
        $(INTEL_CFLAGS)