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 4d2036f commit fb77309Copy full SHA for fb77309
1 file changed
src/SPC/builder/extension/xlswriter.php
@@ -30,7 +30,7 @@ public function patchBeforeMake(): bool
30
{
31
$patched = parent::patchBeforeMake();
32
33
- // Bundled minizip uses K&R C function declarations rejected by C23 (default on macOS with Xcode 16+)
+ // Remove when https://github.com/viest/php-ext-xlswriter/pull/560 is merged
34
if (PHP_OS_FAMILY !== 'Windows') {
35
GlobalEnvManager::putenv('SPC_CMD_VAR_PHP_MAKE_EXTRA_CFLAGS=' . getenv('SPC_CMD_VAR_PHP_MAKE_EXTRA_CFLAGS') . ' -std=gnu17');
36
$patched = true;
@@ -49,6 +49,7 @@ public function patchBeforeMake(): bool
49
return $patched;
50
}
51
52
53
protected function getExtraEnv(): array
54
55
return ['CFLAGS' => '-std=gnu17'];
0 commit comments