From 527bcb1e2e1e18e0eab9e97a920903e4cfe39452 Mon Sep 17 00:00:00 2001 From: Alex Samorukov Date: Fri, 8 Jan 2021 19:09:09 +0100 Subject: [PATCH] Fix opcache phpize build on FreeBSD Closes GH-6589. --- ext/opcache/jit/Makefile.frag | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ext/opcache/jit/Makefile.frag b/ext/opcache/jit/Makefile.frag index d4f97de76d..b3af5b290a 100644 --- a/ext/opcache/jit/Makefile.frag +++ b/ext/opcache/jit/Makefile.frag @@ -16,3 +16,6 @@ $(builddir)/jit/zend_jit.lo: \ $(srcdir)/jit/zend_jit_trace.c \ $(srcdir)/jit/zend_elf.c +# For non-GNU make, jit/zend_jit.lo and ./jit/zend_jit.lo are considered distinct targets. +# Use this workaround to allow building from inside ext/opcache. +jit/zend_jit.lo: $(builddir)/jit/zend_jit.lo -- 2.40.0