extra/java8-openjdk to 8.u162-2

This commit is contained in:
Kevin Mihelich 2018-03-01 19:23:27 +00:00
parent 644e775f51
commit 3292739297

View file

@ -24,7 +24,7 @@ _jdk_update=162
_jdk_build=12
pkgver=${_java_ver}.u${_jdk_update}
_repo_ver=jdk${_java_ver}u${_jdk_update}-b${_jdk_build}
pkgrel=1
pkgrel=2
arch=('x86_64')
url='http://openjdk.java.net/'
license=('custom')
@ -81,7 +81,7 @@ build() {
# http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1346
export MAKEFLAGS=${MAKEFLAGS/-j*}
# https://hydra.nixos.org/build/41230444/log
export CFLAGS="-Wno-error=deprecated-declarations -fno-lifetime-dse"
export CFLAGS="-Wno-error=deprecated-declarations -fno-lifetime-dse -fno-delete-null-pointer-checks"
# prevent downgrading hotspot optimization
CFLAGS=`echo $CFLAGS | sed -e 's/-O2//'` && CXXFLAGS="$CFLAGS"