mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00: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
086b08f193
commit
cd352d551e
1 changed files with 7 additions and 2 deletions
|
@ -11,7 +11,7 @@
|
||||||
;;; Copyright © 2018 Chris Marusich <cmmarusich@gmail.com>
|
;;; Copyright © 2018 Chris Marusich <cmmarusich@gmail.com>
|
||||||
;;; Copyright © 2018-2024 Efraim Flashner <efraim@flashner.co.il>
|
;;; Copyright © 2018-2024 Efraim Flashner <efraim@flashner.co.il>
|
||||||
;;; Copyright © 2019, 2020, 2021 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
|
;;; 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 Raghav Gururajan <raghavgururajan@disroot.org>
|
||||||
;;; Copyright © 2020, 2022, 2025 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
;;; Copyright © 2020, 2022, 2025 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
||||||
;;; Copyright © 2021 Vincent Legoll <vincent.legoll@gmail.com>
|
;;; Copyright © 2021 Vincent Legoll <vincent.legoll@gmail.com>
|
||||||
|
@ -233,7 +233,12 @@
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "openjdk.src/jdk/make/common/Defs-linux.gmk"
|
(substitute* "openjdk.src/jdk/make/common/Defs-linux.gmk"
|
||||||
(("CFLAGS_COMMON = -fno-strict-aliasing" all)
|
(("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*
|
(substitute*
|
||||||
'("openjdk.src/jdk/src/solaris/native/java/net/PlainSocketImpl.c"
|
'("openjdk.src/jdk/src/solaris/native/java/net/PlainSocketImpl.c"
|
||||||
"openjdk.src/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c")
|
"openjdk.src/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue