index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2019-08-16 09:42:23 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2019-08-16 09:42:23 +0200 |
commit | ee6b633a178ba001106ba9d90950e8fcbd6a91d2 (patch) | |
tree | 4dda71e6d9c9e52e490052990e20a9d2f7ae7d99 /extra/java10-openjdk/PKGBUILD | |
parent | c6a345d9e9f1a8ba433026e6bbe82e2567866c6d (diff) |
-rw-r--r-- | extra/java10-openjdk/PKGBUILD | 11 |
diff --git a/extra/java10-openjdk/PKGBUILD b/extra/java10-openjdk/PKGBUILD index bcfca6b7..b1d50745 100644 --- a/extra/java10-openjdk/PKGBUILD +++ b/extra/java10-openjdk/PKGBUILD @@ -8,6 +8,7 @@ if [ "${CARCH}" = "pentium4" ]; then _JARCH=x86 _DOC_ARCH=x86 + # make sure -no-plt is set also for pentium4 eval "$( declare -f build | \ sed ' @@ -15,6 +16,16 @@ if [ "${CARCH}" = "pentium4" ]; then ' )" + # force 4-byte stack alignment on SSE aptimized systems, see FS32#75 + eval "$( + declare -f build | \ + sed ' + /unset CFLAGS/ i \ + _CFLAGS="${_CFLAGS} -mincoming-stack-boundary=2" \ + _CXXFLAGS="${_CXXFLAGS} -mincoming-stack-boundary=2" + ' + )" + fi _imgdir="${_imgdir//--/-${_JARCH}-}" |