extra/java11-openjdk to 11.0.7.u10-1

This commit is contained in:
Kevin Mihelich 2020-05-24 00:48:40 +00:00
parent 6fe10fb16b
commit 18a97fa655

View file

@ -22,7 +22,7 @@ pkgbase=java11-openjdk
pkgname=('jre11-openjdk-headless' 'jre11-openjdk' 'jdk11-openjdk' 'openjdk11-src')
_majorver=11
_minorver=0
_securityver=6
_securityver=7
_updatever=10
pkgrel=1
pkgver=${_majorver}.${_minorver}.${_securityver}.u${_updatever}
@ -38,7 +38,7 @@ source=(https://hg.openjdk.java.net/jdk-updates/jdk${_majorver}u/archive/${_hg_t
freedesktop-java.desktop
freedesktop-jconsole.desktop
freedesktop-jshell.desktop)
sha256sums=('79d439d72e9e8fae361763e42da811c3d6ea1eb6a01e2447eb7881dec930c978'
sha256sums=('d105471d06568e4659c21518d1bf42b8ebab5c70539e9777d570549a98ed2a8a'
'575587ad58dfa9908f046d307b9afc7b0b2eb20a1eb454f8fdbbd539ea7b3d01'
'2f57b7c7dd671eabe9fa10c4f1283573e99d7f7c36eccd82c95b705979a2e8cb'
'f271618a8c2a892b554caf26857af41efdf0d8bcb95d57ce7ba535d6979e96da')
@ -78,8 +78,8 @@ build() {
fi
# Avoid optimization of HotSpot being lowered from O3 to O2
local _CFLAGS="${CFLAGS//-O2/-O3} ${CPPFLAGS}"
local _CXXFLAGS="${CXXFLAGS//-O2/-O3} ${CPPFLAGS}"
local _CFLAGS="${CFLAGS//-O2/-O3} ${CPPFLAGS} -fcommon"
local _CXXFLAGS="${CXXFLAGS//-O2/-O3} ${CPPFLAGS} -fcommon"
local _LDFLAGS=${LDFLAGS}
if [[ ${CARCH} = i686 ]]; then
echo "Removing '-fno-plt' from CFLAGS and CXXFLAGS to prevent build fail with this architecture"