gnu: openjdk11: Fix build with gcc-14. * gnu/packages/java.scm (openjdk11)[arguments]<#:phases>: Add -Wno-error=int-conversion to with-extra-cflags. Change-Id: I2facc12357b6fe4ace42c6a6369ea106df2d982f
1 files changed, 3 insertions(+), 1 deletions(-) M gnu/packages/java.scm
M gnu/packages/java.scm => gnu/packages/java.scm +3 -1
@@ 1356,7 1356,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") ;; Otherwise, the '--enable-fast-install' causes an error. "--disable-option-checking" "--disable-warnings-as-errors"