mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-02 14:25:41 +08:00
better
This commit is contained in:
@@ -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'])
|
||||
|
||||
Reference in New Issue
Block a user