openjdk: fix gcc6 build again
This commit is contained in:
parent
141710e877
commit
c1d9ac97b1
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue