openjdk17: test fix
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
nyyu 2021-08-22 12:15:16 +02:00
parent e18a5858c9
commit 94e20be7b6

View file

@ -56,7 +56,7 @@ build() {
# Avoid optimization of HotSpot to be lowered from O3 to O2
local _CFLAGS="${CFLAGS//-O2/-O3} ${CPPFLAGS} -fcommon"
local _CXXFLAGS="${CXXFLAGS//-O2/-O3} ${CPPFLAGS} -fcommon"
local _CXXFLAGS="${CXXFLAGS//-O2/-O3} ${CPPFLAGS} -fcommon -fno-inline"
local _LDFLAGS=${LDFLAGS}
if [[ ${CARCH} = i686 ]]; then
echo "Removing '-fno-plt' from CFLAGS and CXXFLAGS to prevent build fail with this architecture"