mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-28 03:45:07 -06:00
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
This commit is contained in:
parent
ca2237bc54
commit
0cbc920900
1 changed files with 3 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue