openjdk: fix build with gcc-8.2.0 (i686)

Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Jürgen Buchmüller 2018-08-09 16:46:20 +02:00
parent 37bd5a09b1
commit b1060b2917
No known key found for this signature in database
GPG Key ID: 6764EC32352D0647

View File

@ -135,6 +135,9 @@ if [ ${XBPS_GCC_VERSION_MAJOR} -gt 5 ]; then
# to produce a working program.
CFLAGS+=" -Wno-error -std=c++98 -fno-delete-null-pointer-checks -fno-lifetime-dse"
fi
if [ ${XBPS_GCC_VERSION_MAJOR} -gt 7 ]; then
CFLAGS+=" -Wno-deprecated-declarations -Wno-stringop-overflow -Wno-return-type"
fi
post_extract() {
if [ ${XBPS_GCC_VERSION_MAJOR} -gt 5 ]; then