mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
libwebp: Disable sse instructions only for x86_gcc2 target arch"
* fix crash webkit-gtk in Transform_SSE2 function
This commit is contained in:
@@ -11,7 +11,7 @@ channels."
|
||||
HOMEPAGE="https://developers.google.com/speed/webp"
|
||||
COPYRIGHT="2011-2022 Google Inc."
|
||||
LICENSE="BSD (3-clause)"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="http://downloads.webmproject.org/releases/webp/libwebp-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="7bf5a8a28cc69bcfa8cb214f2c3095703c6b73ac5fba4d5480c205331d9494df"
|
||||
|
||||
@@ -99,10 +99,14 @@ defineDebugInfoPackage libwebp$secondaryArchSuffix \
|
||||
BUILD()
|
||||
{
|
||||
autoreconf -vfi
|
||||
|
||||
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
||||
SSE_OPTIONS="--disable-sse4.1 --disable-sse2"
|
||||
fi
|
||||
|
||||
runConfigure ./configure \
|
||||
--enable-libwebpdemux --enable-libwebpmux --enable-libwebpdecoder \
|
||||
--enable-libwebpextras --enable-swap-16bit-csp --disable-static \
|
||||
--disable-sse4.1 --disable-sse2
|
||||
--enable-libwebpextras --enable-swap-16bit-csp --disable-static $SSE_OPTIONS
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user