mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-02 14:25:41 +08:00
don't build extra programs
This commit is contained in:
@@ -14,7 +14,7 @@ trait libwebp
|
||||
$has_avx2 = str_contains($cflags, '-mavx2') || str_contains($cflags, '-march=x86-64-v2') || str_contains($cflags, '-march=x86-64-v3');
|
||||
UnixCMakeExecutor::create($this)
|
||||
->addConfigureArgs(
|
||||
'-DWEBP_BUILD_EXTRAS=ON',
|
||||
'-DWEBP_BUILD_EXTRAS=OFF',
|
||||
'-DWEBP_ENABLE_SIMD=' . ($has_avx2 ? 'ON' : 'OFF'),
|
||||
)
|
||||
->build();
|
||||
|
||||
Reference in New Issue
Block a user