android: fix build issues with brw_nir_trig_workarounds.c
authorTapani Pälli <tapani.palli@intel.com>
Tue, 3 Oct 2017 08:06:12 +0000 (11:06 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Wed, 4 Oct 2017 04:39:05 +0000 (07:39 +0300)
Fixes: 848da66222 ("intel: use a flag instead of setting PYTHONPATH")
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
src/intel/Android.compiler.mk

index 37d75b5679e7a82f29c04a491adb5d0211280aa7..c2b01221dfc321cc800b17e638fbb3dd7ef47762 100644 (file)
@@ -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