Skip to content

Commit fff2484

Browse files
committed
postgresql doesn't build under c23
1 parent d1b1949 commit fff2484

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SPC/builder/unix/library/postgresql.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ protected function build(): void
5050
$config = $spc->config(libraries: $libs, include_suggest_lib: $this->builder->getOption('with-suggested-libs', false));
5151

5252
$env_vars = [
53-
'CFLAGS' => $config['cflags'],
53+
'CFLAGS' => $config['cflags'] . ' -std=c17',
5454
'CPPFLAGS' => '-DPIC',
5555
'LDFLAGS' => $config['ldflags'],
5656
'LIBS' => $config['libs'],

0 commit comments

Comments
 (0)