Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/webkit2gtk/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/webkit2gtk/PKGBUILD')
-rw-r--r--extra/webkit2gtk/PKGBUILD25
1 files changed, 16 insertions, 9 deletions
diff --git a/extra/webkit2gtk/PKGBUILD b/extra/webkit2gtk/PKGBUILD
index 6e0af735..294674b3 100644
--- a/extra/webkit2gtk/PKGBUILD
+++ b/extra/webkit2gtk/PKGBUILD
@@ -28,12 +28,19 @@ eval "$(
'
)"
-# linker runs out of memory on 32-bit
-eval "$(
- declare -f build | \
- sed '
- 3 i LDFLAGS+=" -Wl,--no-keep-memory"
- 3 i CFLAGS+=" -g1"
- 3 i CXXFLAGS+=" -g1"
- '
-)"
+# Below from here
+options+=('!debug' '!lto')
+if [ "${CARCH}" != "pentium4" ]; then
+ eval "$(
+ declare -f prepare | \
+ sed '
+ 4 i patch -p1 -i "${srcdir}/${CARCH}.diff"
+ '
+ )"
+fi
+
+unset sha256sums
+source_i486+=('i486.diff')
+source_i686+=('i686.diff')
+b2sums_i486+=('84b147cd7c1c5bb324af8bc1451fe048b72f8c3c43001fb7a2ab01112566e48194264ab65491c4a7b80669bb101069744915faa03b0ae844f734170e3958760e')
+b2sums_i686+=('3c765caa8e153722c7791fb6c1168e27b5b72922f433a9614969003900adeee5784d41b7836d18f177491369cf5929782296ef88a5e076719a44cda42c0abea1')