mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +08:00
fix
This commit is contained in:
parent
2ebdc4509c
commit
c43a10027b
@ -12,7 +12,7 @@ trait pkgconfig
|
|||||||
protected function build(): void
|
protected function build(): void
|
||||||
{
|
{
|
||||||
UnixAutoconfExecutor::create($this)
|
UnixAutoconfExecutor::create($this)
|
||||||
->appendEnv([[
|
->appendEnv([
|
||||||
'CFLAGS' => '-Wimplicit-function-declaration -Wno-int-conversion',
|
'CFLAGS' => '-Wimplicit-function-declaration -Wno-int-conversion',
|
||||||
'LDFLAGS' => SPCTarget::isStatic() ? '--static' : '',
|
'LDFLAGS' => SPCTarget::isStatic() ? '--static' : '',
|
||||||
])
|
])
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user