openjdk: fix gcc6 build again

This commit is contained in:
Juergen Buchmueller 2016-11-05 20:32:41 +01:00
parent 141710e877
commit c1d9ac97b1

View file

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