mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-17 15:50:31 +02:00
gnu: wlroots-0.15: Fix build with GCC 15.
* gnu/packages/wm.scm (wlroots-0.15)[arguments]: Change CFLAGS to disable new GCC 15 warnings. Change-Id: I7c27892097e0bb4f0a8e116dc2485c23b9a4aac2 Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
committed by
Andreas Enge
parent
70f73592d3
commit
2a12c1a487
@@ -2475,8 +2475,15 @@ modules for building a Wayland compositor.")
|
||||
(sha256
|
||||
(base32 "00s73nhi3sc48l426jdlqwpclg41kx1hv0yk4yxhbzw19gqpfm1h"))))
|
||||
(propagated-inputs (modify-inputs (package-propagated-inputs wlroots)
|
||||
(delete libdisplay-info)))))
|
||||
|
||||
(delete libdisplay-info)))
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments wlroots)
|
||||
((#:phases phases)
|
||||
#~(modify-phases #$phases
|
||||
;; Required to fix build with GCC >= 15.
|
||||
(add-before 'configure 'set-cflags
|
||||
(lambda _
|
||||
(setenv "CFLAGS" "-Wno-error=calloc-transposed-args")))))))))
|
||||
|
||||
(define-public wl-mirror
|
||||
(package
|
||||
|
||||
Reference in New Issue
Block a user