File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/SPC/builder/extension Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ public function patchBeforeMake(): bool
3030 {
3131 $ patched = parent ::patchBeforeMake ();
3232
33- // Bundled minizip uses K&R C function declarations rejected by C23 (default on macOS with Xcode 16+)
33+ // Remove when https://github.com/viest/php-ext-xlswriter/pull/560 is merged
3434 if (PHP_OS_FAMILY !== 'Windows ' ) {
3535 GlobalEnvManager::putenv ('SPC_CMD_VAR_PHP_MAKE_EXTRA_CFLAGS= ' . getenv ('SPC_CMD_VAR_PHP_MAKE_EXTRA_CFLAGS ' ) . ' -std=gnu17 ' );
3636 $ patched = true ;
@@ -49,6 +49,7 @@ public function patchBeforeMake(): bool
4949 return $ patched ;
5050 }
5151
52+ // Remove when https://github.com/viest/php-ext-xlswriter/pull/560 is merged
5253 protected function getExtraEnv (): array
5354 {
5455 return ['CFLAGS ' => '-std=gnu17 ' ];
You can’t perform that action at this time.
0 commit comments