OSDN Git Service

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, 3 Feb 2017 11:08:56 +0000 (11:08 +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>
(cherry picked from commit 4622c75dfbf5c89630d1860037dcb8b7910c0820)

src/mesa/drivers/dri/i965/Makefile.am

index 92cb5b5..1fb7485 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)