From 6aad7a07bbdbf0d6fa47d22c50f231e34a8beccc Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Mon, 8 Jan 2024 14:32:30 -0800 Subject: [PATCH] Fix DragonFly build (#13085) On DragonFly by default the BSD make is used with the CSH shell and the first prerequisite variable `$<` in Makefile doesn't work there. So, we can simplify this by simply repeating the filename here. --- ext/opcache/jit/Makefile.frag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/opcache/jit/Makefile.frag b/ext/opcache/jit/Makefile.frag index 4aec7913967..863556d6744 100644 --- a/ext/opcache/jit/Makefile.frag +++ b/ext/opcache/jit/Makefile.frag @@ -8,7 +8,7 @@ $(builddir)/jit/ir/ir_emit.lo: \ $(srcdir)/jit/ir/ir_emit.c $(builddir)/jit/ir/ir_emit_$(DASM_ARCH).h $(builddir)/jit/ir/gen_ir_fold_hash: $(srcdir)/jit/ir/gen_ir_fold_hash.c $(srcdir)/jit/ir/ir_strtab.c - $(BUILD_CC) -D${IR_TARGET} -DIR_PHP -DIR_PHP_MM=0 -o $@ $< + $(BUILD_CC) -D${IR_TARGET} -DIR_PHP -DIR_PHP_MM=0 -o $@ $(srcdir)/jit/ir/gen_ir_fold_hash.c $(builddir)/jit/ir/ir_fold_hash.h: $(builddir)/jit/ir/gen_ir_fold_hash $(srcdir)/jit/ir/ir_fold.h $(srcdir)/jit/ir/ir.h $(builddir)/jit/ir/gen_ir_fold_hash < $(srcdir)/jit/ir/ir_fold.h > $(builddir)/jit/ir/ir_fold_hash.h