We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63fcdd9 commit 5a60f4cCopy full SHA for 5a60f4c
src/SPC/builder/unix/library/librdkafka.php
@@ -17,8 +17,18 @@ trait librdkafka
17
*/
18
protected function build(): void
19
{
20
- FileSystem::replaceFileStr($this->source_dir . '/lds-gen.py', "funcs.append('rd_ut_coverage_check')", '');
+ FileSystem::replaceFileStr(
21
+ $this->source_dir . '/lds-gen.py',
22
+ "funcs.append('rd_ut_coverage_check')",
23
+ ''
24
+ );
25
26
+ $this->source_dir . '/src/rd.h',
27
+ '#error "IOV_MAX not defined"',
28
+ '#define IOV_MAX 1024' . "\n#define __GNU__"
29
30
UnixAutoconfExecutor::create($this)
31
+ ->appendEnv(['CFLAGS' => '-Wno-int-conversion -Wno-unused-but-set-variable -Wno-unused-variable'])
32
->optionalLib(
33
'zstd',
34
function ($lib) {
0 commit comments