Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/SPC/builder/Extension.php
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ protected function addExtensionDependency(string $name, bool $optional = false):

protected function getExtraEnv(): array
{
return ['CFLAGS' => '-std=c17'];
return ['CFLAGS' => ''];
}

/**
Expand Down
5 changes: 5 additions & 0 deletions src/SPC/builder/extension/mongodb.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,9 @@ public function getUnixConfigureArg(bool $shared = false): string
$arg .= $this->builder->getLib('zlib') ? ' --with-mongodb-zlib=yes ' : ' --with-mongodb-zlib=bundled ';
return clean_spaces($arg);
}

public function getExtraEnv(): array
{
return ['CFLAGS' => '-std=c17'];
}
}