summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2019-08-13 18:37:32 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2019-08-13 18:37:32 +0200
commitb563e757b18b9cf771bd769746c6246fc9042bf7 (patch)
tree7928916c8de8a3852ccc6f920a6200983d8bb485 /extra
parent2a9a72ca5e521d41970877203ec4bf2362cd87a2 (diff)
downloadpackages-b563e757b18b9cf771bd769746c6246fc9042bf7.tar.xz
extra/java8-openjdk: first try to fix pentium4 builds (see FS32#75)
Diffstat (limited to 'extra')
-rw-r--r--extra/java8-openjdk/PKGBUILD21
1 files changed, 21 insertions, 0 deletions
diff --git a/extra/java8-openjdk/PKGBUILD b/extra/java8-openjdk/PKGBUILD
index e3275e2f..6504898a 100644
--- a/extra/java8-openjdk/PKGBUILD
+++ b/extra/java8-openjdk/PKGBUILD
@@ -1,3 +1,15 @@
+# temporary workaround for wrong checksums (FS#63430)
+
+sha256sums=('0f55ff00da5e356a7bd703cef9208c5a3c2fd0dfa02fa42575ff42348688a530'
+ '0ad3f9a17fc91f23bddf6bbecd6999ae38a83a4ccc2d26a977c7a59be084f12e'
+ 'b2d48ef855bcf7ec036567516ad45b34e9c4c5c54b087cd0642254ec55c2897c'
+ 'dad37f169d79a86bd45db58a97d2f78a4b78a9627d9d2f8131717517dcc225bb'
+ '4d7fc3a95b0c728a4109cf92ea263981cfa6a477551ea07daeef6e87927b9258'
+ '0583ba9a993a0eb38a91c173552ea060b5d53294e5b86ad968c745c4f5bb16da'
+ '6ff07b7bcf955819ef80daa8bd2c4d8546f8b74d8941f84e430b20e381c4b11f'
+ '0699029f693e22dd6945571050a6e8a9e3e0d5295e33b6200d5b5b405caaf767'
+ '76b176e6ec65e90b1352cb42ebf6c47a11c9a632662c31ff413965d03e3a5d41')
+
# glibc 2.28 readdir_r -> readdir hotfix (or, let's hope readdir is
# actually thread-safe internally)
@@ -36,6 +48,15 @@ fi
if [ "${CARCH}" = "pentium4" ]; then
_JARCH=i386
_DOC_ARCH=x86
+
+ # force 4-byte stack alignment on SSE aptimized systems, see FS32#75
+ eval "$(
+ declare -f build | \
+ sed '
+ s/\(export CFLAGS="\)/\1-mincoming-stack-boundary=2 /
+ s/\(export CXXFLAGS="\)/\1-mincoming-stack-boundary=2 /
+ '
+ )"
fi
_nonheadless=(