Skip to content

Commit

Permalink
static opcache patch
Browse files Browse the repository at this point in the history
  • Loading branch information
dunglas authored and crazywhalecc committed Sep 12, 2023
1 parent adfa620 commit dd2e7cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/SPC/builder/linux/LinuxBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,8 @@ 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 dd2e7cc

Please sign in to comment.