openjdk: fix gcc6 build again

This commit is contained in:
Juergen Buchmueller 2016-11-05 20:32:41 +01:00
parent 141710e877
commit c1d9ac97b1
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ do_build() {
}
post_extract() {
if [ "${_gccver%%.*}" -gt 5 ]; then
if [ ${XBPS_GCC_VERSION_MAJOR} -gt 5 ]; then
cd ${XBPS_BUILDDIR}/jdk-${_repo_ver}
# gcc6 complains about the signed shift left
sed -i src/share/native/com/sun/java/util/jar/pack/constants.h \