[Mesa-dev] [PATCH 8/8] vc4: autotools: fix header inclusion in CFLAGS

Juan A. Suarez Romero jasuarez at igalia.com
Mon Mar 19 17:49:11 UTC 2018


Load NIR compiler headers from srcdir, not builddir.
---
 src/gallium/drivers/vc4/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/vc4/Makefile.am b/src/gallium/drivers/vc4/Makefile.am
index d65bf20e26d..abcad54f087 100644
--- a/src/gallium/drivers/vc4/Makefile.am
+++ b/src/gallium/drivers/vc4/Makefile.am
@@ -27,7 +27,7 @@ SIM_LDFLAGS = -lsimpenrose
 endif
 
 AM_CFLAGS = \
-	-I$(top_builddir)/src/compiler/nir \
+	-I$(top_srcdir)/src/compiler/nir \
 	-I$(top_srcdir)/include/drm-uapi \
 	-I$(top_builddir)/src \
 	-I$(top_srcdir)/src/broadcom/cle \
-- 
2.14.3



More information about the mesa-dev mailing list