Skip to content

Commit

Permalink
--disable-opcache-jit
Browse files Browse the repository at this point in the history
  • Loading branch information
dunglas authored and crazywhalecc committed Sep 12, 2023
1 parent dd2e7cc commit 3183ecc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/SPC/builder/linux/LinuxBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ public function buildPHP(int $build_target = BUILD_TARGET_NONE): void
'--disable-phpdbg ' .
($enableCli ? '--enable-cli ' : '--disable-cli ') .
($enableFpm ? '--enable-fpm ' : '--disable-fpm ') .
($enableEmbed ? '--enable-embed=static ' : '--disable-embed ') .
($enableEmbed ? '--enable-embed=static --disable-opcache-jit ' : '--disable-embed ') .
$json_74 .
$zts .
$maxExecutionTimers .
Expand Down Expand Up @@ -319,8 +319,6 @@ public function buildFpm(string $extra_libs, string $use_lld): void

public function buildEmbed(string $extra_libs, string $use_lld): void
{
SourcePatcher::patchMicro(['static_opcache']);

$vars = SystemUtil::makeEnvVarString([
'EXTRA_CFLAGS' => '-g -Os -fno-ident ' . implode(' ', array_map(fn ($x) => "-Xcompiler {$x}", $this->tune_c_flags)),
'EXTRA_LIBS' => $extra_libs,
Expand Down

0 comments on commit 3183ecc

Please sign in to comment.