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
1 files changed, 3 insertions(+), 1 deletions(-) M gnu/packages/java.scm
M gnu/packages/java.scm => gnu/packages/java.scm +3 -1
@@ 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"