Skip to content

Commit 6f5fc43

Browse files
committed
remove extra -lunwind patch since we don't only need it in opcache
1 parent cb62ffd commit 6f5fc43

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/SPC/builder/extension/opcache.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,4 @@ public function getDistName(): string
5151
{
5252
return 'Zend Opcache';
5353
}
54-
55-
public function patchBeforeMake(): bool
56-
{
57-
if (!str_contains(getenv('CC'), 'zig')) {
58-
return false;
59-
}
60-
// opcache requires -lunwind, the equivalent to -lgcc_s that gcc automatically links
61-
$extra_libs = trim(getenv('SPC_EXTRA_LIBS') . ' -lunwind');
62-
f_putenv('SPC_EXTRA_LIBS=' . $extra_libs);
63-
return true;
64-
}
6554
}

0 commit comments

Comments
 (0)