mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 12:54:52 +08:00
maybe explicit mavx2?!
This commit is contained in:
parent
150d866c15
commit
22d263c0a8
@ -11,6 +11,9 @@ trait libwebp
|
|||||||
protected function build(): void
|
protected function build(): void
|
||||||
{
|
{
|
||||||
UnixCMakeExecutor::create($this)
|
UnixCMakeExecutor::create($this)
|
||||||
|
->appendEnv([
|
||||||
|
'CFLAGS' => GNU_ARCH === 'x86_64' ? '-mavx2' : '',
|
||||||
|
])
|
||||||
->addConfigureArgs(
|
->addConfigureArgs(
|
||||||
'-DWEBP_BUILD_EXTRAS=OFF'
|
'-DWEBP_BUILD_EXTRAS=OFF'
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user