index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
-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}-}" |