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:
parent
37bd5a09b1
commit
b1060b2917
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user