gnu: libunwind: Fix build with gcc-14 for i686-linux.

* gnu/packages/libunwind.scm (libunwind)[arguments]: Extend CFLAGS to relax
gcc-14's strictness even further.

Change-Id: Idafb16976442b3452b16cd993fbaec0655a61af5
This commit is contained in:
Janneke Nieuwenhuizen 2025-01-05 16:14:00 +01:00
parent d276930d8b
commit ec4a2494c6
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -45,7 +45,10 @@ (define-public libunwind
(arguments
(list
#:configure-flags
#~(list "CFLAGS=-g -O2 -Wno-error=implicit-function-declaration")
#~(list #$(string-append
"CFLAGS=-g -O2"
" -Wno-error=implicit-function-declaration"
" -Wno-error=incompatible-pointer-types"))
;; Two tests are failing with newer toolchains:
;; https://github.com/libunwind/libunwind/issues/363
#:make-flags