summaryrefslogtreecommitdiff
path: root/gnu/packages/libphidget.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2026-02-07 18:34:27 +0100
committerAndreas Enge <andreas@enge.fr>2026-02-07 19:45:10 +0100
commit3a3533826b2c68872c7fb966b2b8bc141164ea37 (patch)
treef0398cf106d8a86f1964114dc9c24906eb4fa53c /gnu/packages/libphidget.scm
parentf9e4d65b1f3a67e491ccee3b5601432113c4eaa8 (diff)
gnu: libphidget: Fix compilation with GCC 14.
* gnu/packages/libphidget.scm (libphidget)[arguments]: New field. Change-Id: I3a1ba11f684c19a4585327d0e146955e6c3bc655 Signed-off-by: Andreas Enge <andreas@enge.fr>
Diffstat (limited to 'gnu/packages/libphidget.scm')
-rw-r--r--gnu/packages/libphidget.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/packages/libphidget.scm b/gnu/packages/libphidget.scm
index edeeb5b4086..ba086608043 100644
--- a/gnu/packages/libphidget.scm
+++ b/gnu/packages/libphidget.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2013 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2013, 2026 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2018 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;;
@@ -19,6 +19,7 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages libphidget)
+ #:use-module (guix gexp)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system gnu)
@@ -38,6 +39,9 @@
(sha256
(base32 "07w54dmr75vq2imngfy66nk1sxlvkzhl2p6g362q0a02f099jy0f"))))
(build-system gnu-build-system)
+ (arguments
+ (list #:configure-flags
+ #~(list "CFLAGS=-Wno-incompatible-pointer-types -O2 -g")))
(inputs (list libusb))
(outputs '("out" "debug"))
(home-page "https://www.phidgets.com/")