From 669add34557ff2a51c016ce7d8799b25c23a6db2 Mon Sep 17 00:00:00 2001 From: Ryan Dwyer Date: Sun, 2 Feb 2020 14:42:08 +1000 Subject: [PATCH] Replace another python path with env --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 4e7fa45ec..e7ec8986b 100644 --- a/Makefile +++ b/Makefile @@ -282,8 +282,8 @@ $(B_DIR)/files/%.o: $(B_DIR)/files/% rm -f file.s %.o: %.c - python tools/asmpreproc/asm-processor.py -O2 $< | $(QEMU_IRIX) -silent -L $(IRIX_ROOT) $(IRIX_ROOT)/usr/bin/cc -c $(CFLAGS) tools/asmpreproc/include-stdin.c -o $@ -O2 - python tools/asmpreproc/asm-processor.py -O2 $< --post-process $@ --assembler "$(TOOLCHAIN)-as -march=vr4300 -mabi=32" --asm-prelude tools/asmpreproc/prelude.s + /usr/bin/env python3 tools/asmpreproc/asm-processor.py -O2 $< | $(QEMU_IRIX) -silent -L $(IRIX_ROOT) $(IRIX_ROOT)/usr/bin/cc -c $(CFLAGS) tools/asmpreproc/include-stdin.c -o $@ -O2 + /usr/bin/env python3 tools/asmpreproc/asm-processor.py -O2 $< --post-process $@ --assembler "$(TOOLCHAIN)-as -march=vr4300 -mabi=32" --asm-prelude tools/asmpreproc/prelude.s $(B_DIR)/files/%.bin: $(B_DIR)/files/%.elf $(TOOLCHAIN)-objcopy $< $@ -O binary