mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-09 01:45:36 +08:00
update protobuf
This commit is contained in:
@@ -1108,7 +1108,7 @@
|
|||||||
},
|
},
|
||||||
"protobuf": {
|
"protobuf": {
|
||||||
"type": "url",
|
"type": "url",
|
||||||
"url": "https://pecl.php.net/get/protobuf-5.34.1.tgz",
|
"url": "https://pecl.php.net/get/protobuf",
|
||||||
"path": "php-src/ext/protobuf",
|
"path": "php-src/ext/protobuf",
|
||||||
"filename": "protobuf.tgz",
|
"filename": "protobuf.tgz",
|
||||||
"license": {
|
"license": {
|
||||||
|
|||||||
@@ -30,7 +30,11 @@ trait libaom
|
|||||||
->setBuildDir("{$this->source_dir}/builddir")
|
->setBuildDir("{$this->source_dir}/builddir")
|
||||||
->addConfigureArgs(
|
->addConfigureArgs(
|
||||||
"-DAOM_TARGET_CPU={$targetCpu}",
|
"-DAOM_TARGET_CPU={$targetCpu}",
|
||||||
'-DCONFIG_RUNTIME_CPU_DETECT=1'
|
'-DCONFIG_RUNTIME_CPU_DETECT=1',
|
||||||
|
'-DENABLE_EXAMPLES=0',
|
||||||
|
'-DENABLE_TOOLS=0',
|
||||||
|
'-DENABLE_TESTS=0',
|
||||||
|
'-DENABLE_DOCS=0'
|
||||||
)
|
)
|
||||||
->build();
|
->build();
|
||||||
f_putenv("SPC_COMPILER_EXTRA={$extra}");
|
f_putenv("SPC_COMPILER_EXTRA={$extra}");
|
||||||
|
|||||||
Reference in New Issue
Block a user