guix_mirror_bot pushed a commit to branch core-packages-team in repository guix.
commit 86f98d2367934a670dddc2bc952ac2d5a67eeaca Author: Zheng Junjie <z572@z572.online> AuthorDate: Sun Jun 22 21:56:53 2025 +0800 gnu: openjdk10: Fix build with gcc-14. * gnu/packages/java.scm (openjdk10)[arguments]<#:phases>: Add -Wno-error=int-conversion to with-extra-cflags. Change-Id: I55a1166d081686b42598826899bde7a64e75f373 --- gnu/packages/java.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index ac9e3b8a6a..2ec8a14a44 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -1283,7 +1283,9 @@ new Date();")) ;; Add flags for compilation with gcc >= 10 ,(string-append "--with-extra-cflags=-fcommon" " -fno-delete-null-pointer-checks" - " -fno-lifetime-dse") + " -fno-lifetime-dse" + ;; flags for compilation with gcc >= 14. + " -Wno-error=int-conversion") (string-append "--with-freetype=" (assoc-ref inputs "freetype")) "--disable-freetype-bundling"