diff --git a/srcpkgs/openjdk11/template b/srcpkgs/openjdk11/template index f647a01b504..e1c9fbef6b2 100644 --- a/srcpkgs/openjdk11/template +++ b/srcpkgs/openjdk11/template @@ -1,14 +1,14 @@ # Template file for 'openjdk11' _java_ver=11 _java_min_ver=0 -_java_sec_ver=5 -_jdk_update=10 +_java_sec_ver=9 +_jdk_update=4 _openjdk_version="openjdk-${_java_ver}" pkgname=openjdk11 version="${_java_ver}.${_java_min_ver}.${_java_sec_ver}+${_jdk_update}" -revision=4 +revision=1 wrksrc="jdk${_java_ver}u-jdk-${version}" build_style=gnu-configure configure_args=" @@ -39,7 +39,7 @@ maintainer="Kyle Nusbaum " license="GPL-2.0-or-later" homepage="http://openjdk.java.net/" distfiles="https://hg.openjdk.java.net/jdk-updates/jdk${_java_ver}u/archive/jdk-${version}.tar.gz" -checksum=a3bc19d278f68660f02610cbe1ce6c110a39a1aa53aeb90c6133a1cebf948462 +checksum=eb946d536ae61b65bc8ad6d644cf7066bfe51a8e906fa09491821493eb854dc4 shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.so" # Build is still parallel, but don't use -jN. @@ -149,6 +149,8 @@ do_configure() { CC="/usr/bin/cc" CXX="/usr/bin/c++" fi + CFLAGS+=" -fcommon" + CXXFLAGS+=" -fcommon" ./configure ${configure_args} --with-extra-cflags="$CFLAGS" --with-extra-cxxflags="$CXXFLAGS" --with-extra-ldflags="$LDFLAGS" }