mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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
This commit is contained in:
parent
0cbc920900
commit
0c151438dc
1 changed files with 3 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue