mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02: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:
committed by
Andreas Enge
parent
ca2237bc54
commit
0cbc920900
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user