You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
926 B

  1. From 73ea1d44c1e6b063bfa02e12919ec8a9de3709d8 Mon Sep 17 00:00:00 2001
  2. From: Michael Heimpold <mhei@heimpold.de>
  3. Date: Wed, 3 Feb 2021 22:51:34 +0100
  4. Subject: [PATCH] Fix opcache jit minilua compiling
  5. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
  6. ---
  7. ext/opcache/jit/Makefile.frag | 2 +-
  8. 1 file changed, 1 insertion(+), 1 deletion(-)
  9. diff --git a/ext/opcache/jit/Makefile.frag b/ext/opcache/jit/Makefile.frag
  10. index d4f97de..7421897 100644
  11. --- a/ext/opcache/jit/Makefile.frag
  12. +++ b/ext/opcache/jit/Makefile.frag
  13. @@ -1,6 +1,6 @@
  14. $(builddir)/minilua: $(srcdir)/jit/dynasm/minilua.c
  15. - $(CC) $(srcdir)/jit/dynasm/minilua.c -lm -o $@
  16. + $(HOSTCC) $(srcdir)/jit/dynasm/minilua.c -lm -o $@
  17. $(builddir)/jit/zend_jit_x86.c: $(srcdir)/jit/zend_jit_x86.dasc $(srcdir)/jit/dynasm/*.lua $(builddir)/minilua
  18. $(builddir)/minilua $(srcdir)/jit/dynasm/dynasm.lua $(DASM_FLAGS) -o $@ $(srcdir)/jit/zend_jit_x86.dasc
  19. --
  20. 2.17.1