From 94e20be7b640de56a948c2c054212feb67eb0a6b Mon Sep 17 00:00:00 2001 From: nyyu Date: Sun, 22 Aug 2021 12:15:16 +0200 Subject: [PATCH] openjdk17: test fix --- java17-openjdk/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java17-openjdk/PKGBUILD b/java17-openjdk/PKGBUILD index 800f09b..ad48a62 100644 --- a/java17-openjdk/PKGBUILD +++ b/java17-openjdk/PKGBUILD @@ -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"