Skip to content

Commit 6b5f702

Browse files
committed
ncurses can't build with std=c23 (default with gcc 15)
1 parent 7bdcda1 commit 6b5f702

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ protected function build(): void
1616

1717
UnixAutoconfExecutor::create($this)
1818
->appendEnv([
19+
'CFLAGS' => '-std=gnu99',
1920
'LDFLAGS' => SPCTarget::isStatic() ? '-static' : '',
2021
])
2122
->configure(

0 commit comments

Comments
 (0)