We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb62ffd commit 6f5fc43Copy full SHA for 6f5fc43
src/SPC/builder/extension/opcache.php
@@ -51,15 +51,4 @@ public function getDistName(): string
51
{
52
return 'Zend Opcache';
53
}
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
65
0 commit comments