mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-18 21:46:35 +01:00
gnu: icedtea-7: Fix build with gcc-14.
* gnu/packages/java.scm (icedtea-7)[arguments]: Extend CFLAGS_COMMON in "fix-openjdk" to relax gcc-14's strictness. Change-Id: Icc2fec77390dfd052339184633c1c30915ebded2
This commit is contained in:
parent
89a3961993
commit
5523bb9ef9
1 changed files with 7 additions and 2 deletions
|
@ -11,7 +11,7 @@
|
|||
;;; Copyright © 2018 Chris Marusich <cmmarusich@gmail.com>
|
||||
;;; Copyright © 2018-2024 Efraim Flashner <efraim@flashner.co.il>
|
||||
;;; Copyright © 2019, 2020, 2021 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
|
||||
;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
|
||||
;;; Copyright © 2020, 2025 Janneke Nieuwenhuizen <janneke@gnu.org>
|
||||
;;; Copyright © 2020 Raghav Gururajan <raghavgururajan@disroot.org>
|
||||
;;; Copyright © 2020, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
||||
;;; Copyright © 2021 Vincent Legoll <vincent.legoll@gmail.com>
|
||||
|
@ -232,7 +232,12 @@ (define-public icedtea-7
|
|||
(lambda _
|
||||
(substitute* "openjdk.src/jdk/make/common/Defs-linux.gmk"
|
||||
(("CFLAGS_COMMON = -fno-strict-aliasing" all)
|
||||
(string-append all " -fcommon")))
|
||||
(string-append all
|
||||
" -fcommon"
|
||||
" -Wno-error=implicit-function-declaration"
|
||||
" -Wno-error=implicit-int"
|
||||
" -Wno-error=incompatible-pointer-types"
|
||||
" -Wno-error=int-conversion")))
|
||||
(substitute*
|
||||
'("openjdk.src/jdk/src/solaris/native/java/net/PlainSocketImpl.c"
|
||||
"openjdk.src/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c")
|
||||
|
|
Loading…
Reference in a new issue