mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +08:00
don't build extra programs
This commit is contained in:
parent
7f863d182f
commit
b965ffcd82
@ -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();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user