From d039a0bfb858ecdcbab6e157304e4956e49751d6 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 20 Dec 2019 17:05:05 +0100 Subject: extra/webkit2gtk: disable sse2 in the javascript engine, too (thanks, KitsuWhooa) --- extra/webkit2gtk/PKGBUILD | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'extra/webkit2gtk/PKGBUILD') diff --git a/extra/webkit2gtk/PKGBUILD b/extra/webkit2gtk/PKGBUILD index a9555f51..795e8003 100644 --- a/extra/webkit2gtk/PKGBUILD +++ b/extra/webkit2gtk/PKGBUILD @@ -16,5 +16,14 @@ fi eval "$( declare -f build | \ sed ' + /cmake --build build/ ! { + /^\s*cmake / { + h + s/^.*$/[ "${CARCH}" != pentium4 ] || \0/ + p + g + s/^\s*cmake /[ "${CARCH}" = pentium4 ] || \0-DENABLE_JIT=OFF -DENABLE_C_LOOP=ON -DENABLE_SAMPLING_PROFILER=OFF / + } + } ' )" -- cgit v1.2.3-70-g09d2