janneke pushed a commit to branch core-packages-team
in repository guix.
commit ddf9005bae5e2b6bd23e7b4152296ce8e1b1784c
Author: Janneke Nieuwenhuizen <[email protected]>
AuthorDate: Wed Jan 1 12:35:20 2025 +0100
gnu: libimobiledevice: Fix build with gcc-14.
* gnu/packages/libusb.scm (libimobiledevice)[arguments]: Add CFLAGS
to #:configure-flags to relax gcc-14's strictness.
Change-Id: If59a219f8044d80d5227abe7e7ab65484ef00de3
---
gnu/packages/libusb.scm | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/libusb.scm b/gnu/packages/libusb.scm
index a6e24f8c41..eb6dc9a844 100644
--- a/gnu/packages/libusb.scm
+++ b/gnu/packages/libusb.scm
@@ -16,6 +16,7 @@
;;; Copyright © 2023 Sharlatan Hellseher <[email protected]>
;;; Copyright © 2023 Foundation Devices, Inc. <[email protected]>
;;; Copyright © 2024 hapster <[email protected]>
+;;; Copyright © 2025 Janneke Nieuwenhuizen <[email protected]>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -552,7 +553,10 @@ connections from and to iOS devices by connecting to a
socket provided by a
"1xmhfnypg6j7shl73wfkrrn4mj9dh8qzaj3258q9zkb5cc669wjk"))))
(build-system gnu-build-system)
(arguments
- '(#:configure-flags '("PYTHON_VERSION=3")))
+ (list
+ #:configure-flags
+ #~(list "CFLAGS=-g -O2 -Wno-error=int-conversion"
+ "PYTHON_VERSION=3")))
(propagated-inputs
(list openssl libplist libusbmuxd))
(inputs