openjdk: fix gcc6 build again
This commit is contained in:
parent
141710e877
commit
c1d9ac97b1
1 changed files with 1 additions and 1 deletions
|
@ -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 \
|
||||||
|
|
Loading…
Reference in a new issue