guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

108/290: gnu: libimobiledevice: Fix build with gcc-14.


From: guix-commits
Subject: 108/290: gnu: libimobiledevice: Fix build with gcc-14.
Date: Mon, 31 Mar 2025 05:06:51 -0400 (EDT)

andreas pushed a commit to branch core-packages-team
in repository guix.

commit 35e3d22fb7806c297f0fc9d2f3a25a51ef2e2acf
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
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 <sharlatanus@gmail.com>
 ;;; Copyright © 2023 Foundation Devices, Inc. <hello@foundationdevices.com>
 ;;; Copyright © 2024 hapster <o.rojon@posteo.net>
+;;; Copyright © 2025 Janneke Nieuwenhuizen <janneke@gnu.org>
 ;;;
 ;;; 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]