[Mesa-dev] [PATCH] android: fix build issues with brw_nir_trig_workarounds.c

Tapani Pälli tapani.palli at intel.com
Tue Oct 3 08:08:49 UTC 2017


Fixes: 848da66222 ("intel: use a flag instead of setting PYTHONPATH")
Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
---
 src/intel/Android.compiler.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/intel/Android.compiler.mk b/src/intel/Android.compiler.mk
index 37d75b5679..c2b01221df 100644
--- a/src/intel/Android.compiler.mk
+++ b/src/intel/Android.compiler.mk
@@ -54,7 +54,7 @@ intermediates := $(call local-generated-sources-dir)
 
 $(intermediates)/compiler/brw_nir_trig_workarounds.c: $(brw_nir_trig_workarounds_deps)
 	@mkdir -p $(dir $@)
-	$(hide) PYTHONPATH=$(MESA_TOP)/src/compiler/nir $(MESA_PYTHON2) $< > $@
+	$(hide) $(MESA_PYTHON2) $< -p $(MESA_TOP)/src/compiler/nir > $@
 
 LOCAL_STATIC_LIBRARIES = libmesa_genxml
 
-- 
2.13.5



More information about the mesa-dev mailing list