mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +08:00
better
This commit is contained in:
parent
5a60f4c02b
commit
253206de22
@ -25,7 +25,7 @@ trait librdkafka
|
||||
FileSystem::replaceFileStr(
|
||||
$this->source_dir . '/src/rd.h',
|
||||
'#error "IOV_MAX not defined"',
|
||||
'#define IOV_MAX 1024' . "\n#define __GNU__"
|
||||
"#define IOV_MAX 1024\n#define __GNU__"
|
||||
);
|
||||
UnixAutoconfExecutor::create($this)
|
||||
->appendEnv(['CFLAGS' => '-Wno-int-conversion -Wno-unused-but-set-variable -Wno-unused-variable'])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user