Skip to content

Commit b2b95d1

Browse files
Try again
1 parent 64ba8f3 commit b2b95d1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Makefile.pre.in

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3144,11 +3144,19 @@ else ifneq ($(filter x86_64-%-linux-gnu,$(HOST_GNU_TYPE)),)
31443144
JIT_STENCIL_HEADER = jit_stencils-$(HOST_GNU_TYPE).h
31453145
endif
31463146

3147+
ifdef JIT_STENCIL_HEADER
31473148
jit_stencils.h $(JIT_STENCIL_HEADER): $(JIT_DEPS)
31483149
@REGEN_JIT_COMMAND@
31493150

31503151
Python/jit.o: $(srcdir)/Python/jit.c jit_stencils.h $(JIT_STENCIL_HEADER)
31513152
$(CC) -c $(PY_CORE_CFLAGS) -o $@ $<
3153+
else
3154+
jit_stencils.h: $(JIT_DEPS)
3155+
@REGEN_JIT_COMMAND@
3156+
3157+
Python/jit.o: $(srcdir)/Python/jit.c jit_stencils.h
3158+
$(CC) -c $(PY_CORE_CFLAGS) -o $@ $<
3159+
endif
31523160

31533161
.PHONY: regen-jit
31543162
regen-jit:

0 commit comments

Comments
 (0)