mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06:00
gnu: libgphoto2: Fix build with GCC 14.
* gnu/packages/video.scm (libgphoto2)[arguments]: Add 'relax-gcc-14-strictness phase to fix CFLAGS. Change-Id: I1f9df6ff1fcb5868199e09127b5c03127a26201b Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
parent
4cb2e664bd
commit
13614fc500
1 changed files with 10 additions and 0 deletions
|
|
@ -250,6 +250,16 @@ data as produced by digital cameras.")
|
|||
(base32
|
||||
"1d0g3ixxfz3sfm5rzibydqd9ccflls86pq0ls48zfp5dqvda2qgf"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
(list #:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'configure 'relax-gcc-14-strictness
|
||||
;; Required on i686, but not x86_64.
|
||||
(lambda _
|
||||
(setenv "CFLAGS"
|
||||
(string-append
|
||||
"-g -O2 "
|
||||
"-Wno-incompatible-pointer-types")))))))
|
||||
(native-inputs (list pkg-config))
|
||||
(inputs
|
||||
(list libjpeg-turbo libltdl libusb libxml2))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue