mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-17 20:34:51 +08:00
static opcache patch
This commit is contained in:
parent
adfa620ef4
commit
dd2e7cc129
@ -319,6 +319,8 @@ class LinuxBuilder extends BuilderBase
|
||||
|
||||
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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user