gnu: gtk+-2: Fix build with gcc-14.

* gnu/packages/gtk.scm (gtk+-2)[arguments]: Add CFLAGS to #:configure-flags to
relax gcc-14's strictness.

Change-Id: If2433b1f905a9a01d31f439e77ee302840c92755
This commit is contained in:
Janneke Nieuwenhuizen 2024-12-30 16:00:25 +01:00
parent 2fcc44b274
commit 0f16cf0365
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -971,7 +971,11 @@ (define-public gtk+-2
(list
#:parallel-tests? #f
#:configure-flags
#~(list "--with-xinput=yes"
#~(list #$(string-append
"CFLAGS=-g -O2"
" -Wno-error=implicit-int"
" -Wno-error=incompatible-pointer-types")
"--with-xinput=yes"
(string-append "--with-html-dir=" #$output
"/share/gtk-doc/html"))
#:phases