Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/java10-openjdk
diff options
context:
space:
mode:
Diffstat (limited to 'extra/java10-openjdk')
-rw-r--r--extra/java10-openjdk/PKGBUILD10
1 files changed, 9 insertions, 1 deletions
diff --git a/extra/java10-openjdk/PKGBUILD b/extra/java10-openjdk/PKGBUILD
index 97c72063..bcfca6b7 100644
--- a/extra/java10-openjdk/PKGBUILD
+++ b/extra/java10-openjdk/PKGBUILD
@@ -5,8 +5,16 @@ fi
# pentium4-specific
if [ "${CARCH}" = "pentium4" ]; then
- _JARCH=i386
+ _JARCH=x86
_DOC_ARCH=x86
+
+ eval "$(
+ declare -f build | \
+ sed '
+ /CARCH/s/i686/pentium4/
+ '
+ )"
+
fi
_imgdir="${_imgdir//--/-${_JARCH}-}"