use c17 for extensions as well?

This commit is contained in:
henderkes
2025-12-05 13:57:28 +01:00
parent b2182b4fe1
commit 47ab5d7584
3 changed files with 2 additions and 7 deletions

View File

@@ -24,9 +24,4 @@ class mongodb extends Extension
$arg .= $this->builder->getLib('zlib') ? ' --with-mongodb-zlib=yes ' : ' --with-mongodb-zlib=bundled ';
return clean_spaces($arg);
}
protected function getExtraEnv(): array
{
return ['CFLAGS' => '-std=c17'];
}
}