mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-22 00:05:37 +08:00
ncurses can't build with std=c23 (default with gcc 15)
This commit is contained in:
@@ -16,6 +16,7 @@ trait ncurses
|
|||||||
|
|
||||||
UnixAutoconfExecutor::create($this)
|
UnixAutoconfExecutor::create($this)
|
||||||
->appendEnv([
|
->appendEnv([
|
||||||
|
'CFLAGS' => '-std=gnu99',
|
||||||
'LDFLAGS' => SPCTarget::isStatic() ? '-static' : '',
|
'LDFLAGS' => SPCTarget::isStatic() ? '-static' : '',
|
||||||
])
|
])
|
||||||
->configure(
|
->configure(
|
||||||
|
|||||||
Reference in New Issue
Block a user