ncurses can't build with std=c23 (default with gcc 15)

This commit is contained in:
henderkes 2025-12-05 11:43:51 +01:00
parent 7bdcda1d62
commit 6b5f702719

View File

@ -16,6 +16,7 @@ trait ncurses
UnixAutoconfExecutor::create($this)
->appendEnv([
'CFLAGS' => '-std=gnu99',
'LDFLAGS' => SPCTarget::isStatic() ? '-static' : '',
])
->configure(