summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extra/java7-openjdk/PKGBUILD1
-rw-r--r--extra/java8-openjdk/PKGBUILD2
2 files changed, 3 insertions, 0 deletions
diff --git a/extra/java7-openjdk/PKGBUILD b/extra/java7-openjdk/PKGBUILD
new file mode 100644
index 00000000..3e11f2e9
--- /dev/null
+++ b/extra/java7-openjdk/PKGBUILD
@@ -0,0 +1 @@
+[ "$CARCH" = "i486" ] && _JARCH=i386
diff --git a/extra/java8-openjdk/PKGBUILD b/extra/java8-openjdk/PKGBUILD
index 69209bb8..bb369461 100644
--- a/extra/java8-openjdk/PKGBUILD
+++ b/extra/java8-openjdk/PKGBUILD
@@ -17,3 +17,5 @@ eval "$(
s/-Wno-error=deprecated-declarations/-Wno-error=deprecated-declarations -Wno-error=deprecated/
'
)"
+
+[ "$CARCH" = "i486" ] && _JARCH=i386